Can't open NerdDinner project in vs2008

血红的双手。 提交于 2020-01-03 17:27:23

问题


NerdDinner.csproj won't load in vs2008 sp1 with .net 3.5 sp1. Am I not up-to-date on these tools or something? It complains this project type not supported on this installation.


回答1:


Do you have the ASP.NET MVC Framework installed? If not, you need it. NerdDinner is an example of an MVC Framework project, and you won't be able to open it or run it without the ASP.NET MVC Framework installed.

You can find the appropriate installation information at http://www.asp.net or more specifically http://www.asp.net/mvc




回答2:


In my I had to change the value of the "ProjectTypeGuids" in the project file. I copied them from another MVC project that I had created with my version of VS 2008.

This is the post that gave me the answer:

http://www.stuffthatjustworks.com/How+To+Fix+Xcsproj+Cannot+Be+Opened+The+Project+Type+Is+Not+Supported+By+This+Installation.aspx




回答3:


In my case...it was the wrong version of the framework.

I just copied the from another asp.net mvc project I had made. (then you probably have to fix up the references, which is trivial with resharper :-) )



来源:https://stackoverflow.com/questions/1002907/cant-open-nerddinner-project-in-vs2008

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!