Customized Project template throws exception as Package installation error after update Visual Studio 2012 update 2 ? RRS feed

  • Question

  • Hi All,

    We have used customized project template. 

    This project template copies the query.cs, Knockout.js, etc from C:\Program Files\.....\..\Asp.Net MVC4/Packages.

    After I update VS 2012 Update 2, our project template is throwing exception as Package Installation Error. After i analyzed, Update 2 upgraded the packages folder with latest Jquery,Knockout, etc. 

    In my team, some of them no need to install VS 2012 update 2. So they are using my customized template. But some of them using VS 2012 Update 2. So they need my template.

    How can I change my customized project template to be supported for both VS 2012 and VS 2012 Update 2 ?

    Thanks, Karikalan N

    Monday, May 6, 2013 5:25 PM

All replies

  • Hi,

    Can you see the custom template in the new project window?

    If no, I guess that your custom template is not register, please try using devenv /installVSTemplates.

    Best regards, 


    Wednesday, May 8, 2013 5:42 AM
  • Hi Disley,

    Yes. I can see custom template in new project window.

    Actual problem is that after I selected the custom template in new project window, it adds necessary references and scripts files in the project.

    I created custom template with VS 2012 versions such as Jquery After VS 2012 Update, Microsoft updates the Jquery version as Jquery 1.8.2.js in MVC 4 Package folder in its installation location.So my custom template trying to refer that is why this package installation error occurred. 

    I have to customize my template like it has to use latest version of dll or js files automatically. Is it possible ?

    Thanks, Karikalan N

    Wednesday, May 8, 2013 5:55 AM
  • I think you can have a try. Good lucky!


    Tuesday, May 14, 2013 8:09 AM