“the project type is not supported by this installation” error

后端 未结 23 1477
独厮守ぢ
独厮守ぢ 2020-12-02 11:58

I have installed VS 2008 SP1 on W2k3 OS. After I installed ASP.NET MVC beta and tried creating ASP.NET MVC type project I get the following error.

\"the project type

相关标签:
23条回答
  • 2020-12-02 12:23

    In Windows 7 if you are not running as the local "Administrator" and have UAC turned on the install will silently fail. The solution is to disable UAC, reboot, and the install should succeed.

    0 讨论(0)
  • 2020-12-02 12:23

    VS2008; ASP.NET MVC 2 on 64-bit machine receiving the issue:
    "the project type is not supported by this installation"

    Solution: Thanks to Bert Huijben from above. Under the VS install in the start menu, in the VS Tool folder, ran VS2008 x64 Cmd Prompt. Executed commands:

    devenv /setup
    

    ...still project errored and didn't open, then ran

    devenv.exe /resetskippkgs
    

    ... and then success!

    0 讨论(0)
  • 2020-12-02 12:23

    If you are running Visual Studio 2010 and want to open/create MVC 3 solutions you have to have the Visual Web Developer component of Visual Studio installed.

    If you have done a default installation without customization then this component is installed.

    If you do a customized installation and say thought you only wanted C# stuff installed you may have unchecked the Visual Web Developer component thinking you didn't need it. You need it for any MVC development. Simply re-run your VS setup and make sure this component is selected.

    The MVC 3 download and installation will work properly even without this component installed. However, you will not be able to open or create a MVC 3 solution.

    0 讨论(0)
  • 2020-12-02 12:24

    The problem is that MVC 2 is not completely backward compatible. Visual Studio cannot open MVC 1 apps without MVC 1 installed. So if you just install MVC 1, which can install together with MVC 2 you should be just fine. http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b

    0 讨论(0)
  • 2020-12-02 12:24

    Ran into this problem when I had VS2008 running by accident when I started the ASP.NET MVC install. Closed VS, uninstalled ASP.NET MVC, then reinstalled it and everything worked fine.

    0 讨论(0)
  • 2020-12-02 12:26

    I tried some of the solutions posted here but still no joy. Finally I replaced the ProjectTypeGuids to this one below in the project file and it loaded fine

    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

    0 讨论(0)
提交回复
热议问题