You can clone with
Using visual studio 2010, Windows PowerShell 2.0, NuGet, and Windows Azure SDK. Clone the main branch and then run the build.bat.
Get the following warning.
"ASPNETCOMPILER : warning : The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: NuGetGallery.Website, Version=126.96.36.199, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Data.Services.Client, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly. [C:\Users\Admin\Documents\GitHub\NuGetGallery\Website\Website.csproj]"
Try to open the solution and the website project doesn't open.
Checking output I find the following:
"The project type is not supported by this installation"
What don't I have installed on my system which would allow me to open the project?
You would need Mvc 3 tooling to open the website file. I'm not entirely sure about the warning though. Do you think you could run the build with a detailed log (/v:D) and see what target framework it's trying to compile against?
Installing mvc 3 tooling doesn't seem to have any affect.
Adding the detail logging results in a monstrous file, which at the end has exactly the same text written out. Is there a way I can upload the build log here?
System.Data.Services.Client must be linked to updates for entity framework which have been installed for other projects. I will get back to you on this.
Entity framework June CTP required un-installing, and then I need to un-install mvc all the way (2, 3, and 4) and then install back up to 3 including the VS tools.
tl;dr; Don't trust the web platform installer.
Thanks for the help, much appreciated. Hopefully this will help someone else as well.
1) Note for anyone else reading this, current version of gallery is MVC4, so you probably need that tooling now, not MVC3.
2) If you notice the nuget gallery wiki setup instructions are out of date, please open a pull request to the wiki!