我正在寻找ASP.NET MVC 5.0 RTM源代码。我试图从http://aspnetwebstack.codeplex.com/下载它,但它似乎只有最新的版本5.1.1 RTM。我尝试下载特定标签或分支没有成功。在“源代码”选项卡的“浏览更改”字段中,唯一的选项是“master”或“v3-rtm”。
有人可以帮我这个吗?
答案 0 :(得分:22)
MVC 5.2.3 RTM = v3.2.3(commit 0e974218e12a) https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/0e974218e12a
MVC 5.2.2 RTM = v3.2.2(commit 66298100f4e3) https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/66298100f4e3
MVC 5.1.3 RTM = v3.1.3(commit 0150245a9e34) https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/0150245a9e34
MVC 5.1.1 RTM = v3.1.1(commit 54866f0d3262) https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/54866f0d3262
MVC 5.0 RTM = v3.0(commit 39391d3a64d7) https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/39391d3a64d7
MVC 4.0 RTM = v2.0(commit 89b9166ca722) https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/89b9166ca722
答案 1 :(得分:1)
一般来说,如果您已经克隆了存储库。您可以使用Git
命令:
git show-ref --tags
你会看到类似的东西:
89b9166ca72279fcb62bff67c6224993371ed765 refs/tags/v2.0
a1b7c04f72277e6dfc459d8d6948260d26ccc6c9 refs/tags/v2.0-rc
d4dab6e6c0b181ee56593a3a514faab7f407e1f2 refs/tags/v2.0.1
f276aa28c436c598e3c2a8e09d052e2b17630ab0 refs/tags/v2.0.2
75b5e7ea58d2a120242ff0d840600e33e9b65882 refs/tags/v2.0.3
26665357e13c050d298310e0f5c7925af32a66cd refs/tags/v2.0.4
1b78397f32fc13ea321647b5039755df4be58558 refs/tags/v2.1
235544cf12a25d2fd072c1eafec4c681c9d6068e refs/tags/v2.1-beta
f079d76e57b557d0215dbbaf5d398f64a74ebf90 refs/tags/v2.1-rc
39391d3a64d71ae735f7620ae082aea5f05cb0e0 refs/tags/v3.0
...
或
git tag -n
所有带有评论的标签都会被提示:
fbv1.0 Microsoft.AspNet.Facebook v1.0
fbv1.1 Upgrade ODataLib version from 6.7.0 to 6.8.0
fbv1.1-beta Microsoft.AspNet.Facebook 1.1.0 Beta
odata-v5.3 Update Microsoft.AspNet.Facebook version.
v2.0 Added copyright statements to files lacking it.
...
选择要通过标记下载的版本,并执行git rev-parse
命令以获取提交的ID:例如:
> git rev-parse --short=12 v3.2.3
> 0e974218e12a //This is the first 12 characters of SHA commit.
使用提交的SHA的前12个字符,您现在可以构建URL。例如:
版本3.2.2 = https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/66298100f4e3 版本3.2.3 = https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/0e974218e12a ...
或只是致电git checkout
命令:
git checkout v3.2.3
答案 2 :(得分:0)
在查找具体MVC / WebAPI / Web Pages版本的来源时,这可能会有所帮助: https://aspnetwebstack.codeplex.com/wikipage?title=Building%20from%20Source
答案 3 :(得分:0)
看起来所有历史记录的CodePlex仓库已迁移到GitHub!
https://github.com/aspnet/AspNetWebStack
他们甚至有ASP.Net MVC 5.2.4的里程碑,虽然看起来有点死了:
https://github.com/aspnet/AspNetWebStack/milestone/1
Releases tab包含相应的版本as per @outlookrperson's answer(基本上,在标记的主要版本中添加2,例如标记3.2.3 = MVC 5.2.3)。