none
VS 11 beta new MVC project fails

    Domanda

  • Hi,

    I installed Windows 8 Concumer Preview and Visual Studio 11 beta on a new machine (no update but a fresh install). Everything other works OK but I cant't create a new MVC 4 project.

    I get a following error:

    Package Installation Error

    The project template has a reference to a missing Extension. Could not find an Extension with ID 'Microsoft.VisualStudio.11.MVC4.TemplatePackages-ENU'.

    Any ideas?

    //ahti

    sabato 10 marzo 2012 08:15

Tutte le risposte

  • You don't mention what kind of MVC4 app you tried to create.

    I tried to replicate your issue here by creating a C# MVC4 Web Forms application, and had no issues. Please indicate exactly which MVC4 template you used and whether or not you can create a MVC4 Web Forms application.

    domenica 11 marzo 2012 15:22
  • Thanks pvdg42 for your kindly help.

    Hi ahti,

    If you are referring to the ASP.NET MVC 4 web application, I would like to know that which edition of VS11 Beta you installed on Windows 8 Customer Preview machine? And as far as I know that VS11 Ultimate Beta and VS11 Express Beta include ASP.NET MVC beta by default. If you are using VS11 Ultimate beta or VS11 Express beta, I am afraid you need to install ASP.NET MVC beta manually in order to create ASP.NET MVC 4 web application. See: http://www.asp.net/mvc/mvc4 

    And if you are just using the VS11 Ultimate beta or VS11 Express beta, please try to use the devenv /InstallVSTemplates to install that template back.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    lunedì 12 marzo 2012 03:08
  • Hi Vicky,

    I am using (copy of About Microsoft Visual Studio)

    Microsoft Visual Studio 11
    Version 11.0.50214.1 BETAREL
    Microsoft .NET Framework
    Version 4.5.50131 BETAREL

    Installed Version: Ultimate

    Architecture and Modeling Tools   04166-115-2600346-58373
    Architecture and Modeling Tools
       
    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

    Microsoft Office Developer Tools   04166-115-2600346-58373
    Microsoft Office Developer Tools

    Microsoft Visual Basic 11 Beta   04166-115-2600346-58373
    Microsoft Visual Basic 11 Beta

    Microsoft Visual C# 11 Beta   04166-115-2600346-58373
    Microsoft Visual C# 11 Beta

    Microsoft Visual F# 11 Beta   04166-115-2600346-58373
    Microsoft Visual F# 11 Beta

    Microsoft Visual Studio 11 Beta Code Analysis Spell Checker   04166-115-2600346-58373
    Microsoft® Visual Studio® 11 Beta Code Analysis Spell Checker

    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

    Microsoft Visual Studio 11 LightSwitch Beta   04166-115-2600346-58373
    Microsoft Visual Studio 11 LightSwitch Beta

    Microsoft Visual Studio 11 SharePoint Developer Tools Beta   04166-115-2600346-58373
    Microsoft Visual Studio 11 SharePoint Developer Tools Beta

    Microsoft Visual Studio 11 Team Explorer Beta   04166-115-2600346-58373
    Microsoft Visual Studio 11 Team Explorer Beta

    Microsoft Visual Web Developer 11 Beta   04166-115-2600346-58373
    Microsoft Visual Web Developer 11 Beta

    Microsoft SQL Server Data Tools   11.1.20204.01
    Microsoft SQL Server Data Tools

    NuGet Package Manager   1.6.21215.9133
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

    PreEmptive Analytics Aggregator   1.0
    Visual Studio 2010 extension to visualize aggregated summaries from the PreEmptive Analytics product.

    Web Tooling Extensions Beta   1.0
    Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
    Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premise.
    Web Form Templates: Includes the default templates for Web Form Applications.
    Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

    -------------------------------------------------------------------------------------

    I tried to create an "ASP.NET MVC 4 Web Application" using Project Template "Empty"

    And now I'll try to install that template back. I'll let you know how it works then.

    Thanks,

    ahti

    giovedì 15 marzo 2012 06:40
  • Hi,

    devenv /InstallVSTemplates did not help.

    http://www.asp.net/mvc/mvc4 installs MVC 4 for Visual Studio 2010 (it works OK there).

    I studied this problem a little bit more and found out that I can't create ASP.NET Web Forms Application or ASP.NET MVC 3 Web Application either. Nor Web Site.

    //ahti

    giovedì 15 marzo 2012 07:39
  • Hello ahti,

    What about your issue now? Have you resolved it? I am sorry I can't reproduce your issue on my side. And if your issue still persists, it is better if you can provide me more detailed error messages about it.

    In addition, please try to re-install your VS11 Beta to see if it helps you.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    sabato 17 marzo 2012 08:24