Skip to content
This repository

"The project type is not supported by this installation" #614

Closed
staticcat opened this Issue · 4 comments

3 participants

Jason Duffy Smith Tim Lovell-Smith Pranav K
Jason Duffy Smith

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=1.0.0.0, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Data.Services.Client, Version=4.0.0.0, 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?

Pranav K
Collaborator

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?

Jason Duffy Smith

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.

Jason Duffy Smith

Turns out...

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.

Tim Lovell-Smith
Collaborator

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!

And closing!

Tim Lovell-Smith TimLovellSmith closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.