locked
How to create packages folder structure for MVC4 Application through custom project template RRS feed

  • Question

  • I want to create MVC4 Application through custom project template with wizard concept. I want to know how to create packages folder structure as like in default MVC4 application.Please refer below screenshot.


    The packages folder contains some inner folders and it contains some assemblies to run MVC4 application.


    how to create same folder structure listed in packages folder (as like in default MVC4 application)  through project template. please provide sample code snippet. need project template code snippet for creating packages folder and it items.

    Thanks,



    siva



    • Edited by Siva Rajini Monday, August 27, 2012 7:08 AM
    Monday, August 27, 2012 7:07 AM

Answers

  • There's errors in your project vstemplate : 

     <WizardExtension>
    NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    <FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
    </WizardExtension>
    <WizardData>
    tory="extension" repositoryId="Microsoft.VisualStudio.10.MVC4.TemplatePackages-ENU">
    <package id="DotNetOpenAuth.AspNet" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Consumer" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.0.3.12153" targetFramework="net45" />
      <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
      <package id="jQuery" version="1.7.1.1" targetFramework="net45" />
      <package id="jQuery.UI.Combined" version="1.8.20.1" targetFramework="net45" />
      <package id="jQuery.Validation" version="1.9.0.1" targetFramework="net45" />
      <package id="knockoutjs" version="2.1.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Razor" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Core" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.Data" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.OAuth" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.WebData" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
      <package id="Modernizr" version="2.5.3" targetFramework="net45" />
      <package id="Newtonsoft.Json" version="4.5.6" targetFramework="net45" />
      <package id="WebGrease" version="1.1.0" targetFramework="net45" />
    </packages>
    </WizardData>

    This is the correct version : 

     <WizardExtension>
       <Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
    <FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
    </WizardExtension>
    <WizardData>
    <packages repository="extension" repositoryId="Microsoft.VisualStudio.10.MVC4.TemplatePackages-ENU">
    <package id="DotNetOpenAuth.AspNet" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Consumer" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.0.3.12153" targetFramework="net45" />
      <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
      <package id="jQuery" version="1.7.1.1" targetFramework="net45" />
      <package id="jQuery.UI.Combined" version="1.8.20.1" targetFramework="net45" />
      <package id="jQuery.Validation" version="1.9.0.1" targetFramework="net45" />
      <package id="knockoutjs" version="2.1.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Razor" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Core" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.Data" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.OAuth" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.WebData" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
      <package id="Modernizr" version="2.5.3" targetFramework="net45" />
      <package id="Newtonsoft.Json" version="4.5.6" targetFramework="net45" />
      <package id="WebGrease" version="1.1.0" targetFramework="net45" />
    </packages>
    </WizardData>
    Plus, you don't need to reference the nuget wizard extension to your ProjectTemplateRoot.vstemplate, just in your MyTemplate.vstemplate will be ok. 

    Remove the packages folder, it will be created and filled by NuGet extension. Be sure

    • Proposed as answer by Ego Jiang Thursday, September 6, 2012 2:56 AM
    • Marked as answer by Ego Jiang Friday, September 7, 2012 3:09 AM
    Monday, August 27, 2012 12:07 PM
  • Can your wizard be applied to the solution ?

    You can define the NuGet extension wizard on project template, and your extension wizard to the solution template. In that case you'll have two wizard extension.

    Simply define the solution template with your extension following the first link i gave (Multiple project in a vstemplate), and add the nuget extension wizard to your project templates to resolve missing dependencies. In your wizard you 'll be able to trap project finished events, so you'll can do what you want with this.

    • Marked as answer by Ego Jiang Friday, September 7, 2012 3:09 AM
    Monday, August 27, 2012 9:53 AM

All replies

  • I want to create MVC4 Application through custom project template with wizard concept. I want to know how to create packages folder structure as like in default MVC4 application.Please refer below screenshot.


    The packages folder contains some inner folders and it contains some assemblies to run MVC4 application.


    how to create same folder structure listed in packages folder (as like in default MVC4 application)  through project template. please provide sample code snippet. need project template code snippet for creating packages folder and it items.

    Thanks,


    siva

    • Merged by Ego Jiang Tuesday, August 28, 2012 2:29 AM it is a duplicate thread
    Monday, August 27, 2012 7:09 AM
  • It seems MVC4 use NuGet to install packages. 

    All this packages can be installed in different ways. 

    The one i know use a vstemplate and NuGet wizard extension link to nuget doc. I'm not sure it's recommended doing this by code, but it may be possible to do it.


    Monday, August 27, 2012 7:12 AM
  • It seems MVC4 use NuGet to install packages. 

    All this packages can be installed in different ways. 

    The one i know use a vstemplate and NuGet wizard extension link to nuget doc. I'm not sure it's recommended doing this by code, but it may be possible to do it.

    Monday, August 27, 2012 7:13 AM
  • Hi Mathias,

    Thanks for your quick reply.

    i have already tried this link but it is not worked for me. can you please demonstrate simple project template with packages concept in MVC4 application.

    Thanks,


    siva

    Monday, August 27, 2012 7:31 AM
  • What did you try? can you provide an exemple of what you did ? Because it works well for me
    Monday, August 27, 2012 7:33 AM
  •  I am using multi-project template concept to create MVC4 project though project template with wizard concept.

    please check the below code snippet.

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

    <?xml version="1.0" encoding="utf-8"?>
    <VSTemplate Version="2.0.0" Type="ProjectGroup"
        xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
      <TemplateData>
        <Name> ASP.NET MVC 4 Application</Name>
        <Description>Starter project for creating  ASP.NET MVC 4 Application</Description>
        <DefaultName>MVCApplication</DefaultName>
         <Icon>__TemplateIcon.jpg</Icon>
        <PreviewImage>__PreviewImage.jpg</PreviewImage>
        <ProjectType>CSharp</ProjectType>
        <ProjectSubType>
        </ProjectSubType>
        
      </TemplateData>
      <TemplateContent>
         <ProjectCollection>
        <ProjectTemplateLink ProjectName="$safeprojectname$">
        Children\Desktop\MyTemplate.vstemplate
        </ProjectTemplateLink>      
       </ProjectCollection>
      </TemplateContent>
     <WizardExtension>
        <Assembly>
    MVC.Extensions.WizardFramework, Version=10.304.0.43, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89
        </Assembly>
        <FullClassName>MVCProjectTemplate.IWizardImplementation</FullClassName>
      </WizardExtension>
     <WizardExtension>
        <Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
        <FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
    </WizardExtension>
    </VSTemplate>

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

    i cant get the solution.it throwing error like one wizard can be used... how can i do this.. please suggest any sample code snippet .. .

    Thanks,


    siva

    Monday, August 27, 2012 9:06 AM
  • To have multiple project in one template, you need to read this : Solution Template. To add NuGet packages to your solution, you need to read the previous link, your don't have to create a custom template wizard. Just use this : 

    <WizardExtension>
        <Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
        <FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
      </WizardExtension>
      <WizardData>
        <packages repository="template">     
          <package id="MvvmLight" version="3.1.1" />
        </packages>
      </WizardData>

    .MvvmLight is a sample package i used, you should add all your packages at this place, don't forget to put all your nupkg files in the template zip to get this work.


    Monday, August 27, 2012 9:15 AM
  • Hi Mathias,

    Yes.. i very well knew about multiple project template concept and its working operation.  i had done custom project template with wizard concept for creating MVC3 project.

    so same way i want to create MVC4 project (i want to use wizard - must)

    I am using wizard concept while creating MVC 4 project through project template. because based on the option chosen in the wizard  i want to load/remove specific project templates.

    so how can i specify two<WizardExtension> tags .one for wizard and another one is packages.

    still i cant get clear details...please provide your sample or code snippet for better understanding.

    need sample.

    Thanks,


    siva

    Monday, August 27, 2012 9:22 AM
  • Look, MVC4 is based on NuGet, did you have a look at the mvc4 vstemplate ?

    <WizardExtension>
    <Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
    <FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
    </WizardExtension>
    <WizardData>
    <packages repository="extension" repositoryId="Microsoft.VisualStudio.10.MVC4.TemplatePackages-ENU">
    <package id="jQuery" version="1.6.2" />
    <package id="jQuery.Validation" version="1.8.1" />
    <package id="jQuery.UI.Combined" version="1.8.11" />
    <package id="jQuery.Validation.Unobtrusive" version="2.0.20126.16343" />
    <package id="jQuery.Ajax.Unobtrusive" version="2.0.20126.16343" />
    <package id="EntityFramework" version="4.1.10331.0" />
    <package id="Modernizr" version="2.0.6" />
    <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
    <package id="AspNetRazor.Core" version="2.0.20126.16343" />
    <package id="AspNetWebPages.Core" version="2.0.20126.16343" />
    <package id="System.Web.Http.Common" version="4.0.20126.16343" />
    <package id="AspNetMvc" version="4.0.20126.16343" />
    <package id="System.Json" version="4.0.20126.16343" />
    <package id="System.Net.Http" version="2.0.20126.16343" />
    <package id="System.Net.Http.Formatting" version="4.0.20126.16343" />
    <package id="AspNetWebApi.Core" version="4.0.20126.16343" />
    <package id="AspNetWebApi" version="4.0.20126.16343" />
    <package id="System.Web.Providers.Core" version="1.0" />
    <package id="System.Web.Providers" version="1.1" />
    <package id="Microsoft.Web.Optimization" version="1.0.0-beta" />
    <package id="knockoutjs" version="2.0.0.0" />
    </packages>
    </WizardData>

    This is what they use add references, So NuGet add the package folder during the solution creation.

    I can't provide for this because it doesn't need code, NuGet extension do this alone ! This is why MVC4 extension needs NuGet extension to work.

    If you want to remove project items or add some, do it before building your zip templates. Create project templates with files you need, references you need, if there are references that needs to be installed, add it to the packages as MVC4 do.

    Monday, August 27, 2012 9:31 AM
  • Hi mathias,

    Thanks for very fast reply.

    I understood about packages concept in MVC4. but am already using wizard concept with project template. that is already <wizardextension> tag there. again am creating <wizardextension> tag means it throws the error like below. thats only my problem. how can i use two wizard extensions.

    Please try to resolve the above issue. how can i use two wizard extensions. please try understand my requirement and problem.

    Thanks,


    siva

    Monday, August 27, 2012 9:48 AM
  • Can your wizard be applied to the solution ?

    You can define the NuGet extension wizard on project template, and your extension wizard to the solution template. In that case you'll have two wizard extension.

    Simply define the solution template with your extension following the first link i gave (Multiple project in a vstemplate), and add the nuget extension wizard to your project templates to resolve missing dependencies. In your wizard you 'll be able to trap project finished events, so you'll can do what you want with this.

    • Marked as answer by Ego Jiang Friday, September 7, 2012 3:09 AM
    Monday, August 27, 2012 9:53 AM
  • Hi ,

    Thanks for your reply.

    yes. i added the NuGet extension wizard to project template. but still packages folder not created in root folder of the project . Please download my template zip file from below link and let me know your comments.

    SyncMvc4.zip

    in your side is not working because of wizard dll. you just check the folder structure and it is correct or not?

    i have placed packages folder outside the project and i have also tried to place inside the project .. but both cases not working for me..

    Thanks,


    siva

    Monday, August 27, 2012 11:00 AM
  • There's errors in your project vstemplate : 

     <WizardExtension>
    NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    <FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
    </WizardExtension>
    <WizardData>
    tory="extension" repositoryId="Microsoft.VisualStudio.10.MVC4.TemplatePackages-ENU">
    <package id="DotNetOpenAuth.AspNet" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Consumer" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.0.3.12153" targetFramework="net45" />
      <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
      <package id="jQuery" version="1.7.1.1" targetFramework="net45" />
      <package id="jQuery.UI.Combined" version="1.8.20.1" targetFramework="net45" />
      <package id="jQuery.Validation" version="1.9.0.1" targetFramework="net45" />
      <package id="knockoutjs" version="2.1.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Razor" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Core" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.Data" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.OAuth" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.WebData" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
      <package id="Modernizr" version="2.5.3" targetFramework="net45" />
      <package id="Newtonsoft.Json" version="4.5.6" targetFramework="net45" />
      <package id="WebGrease" version="1.1.0" targetFramework="net45" />
    </packages>
    </WizardData>

    This is the correct version : 

     <WizardExtension>
       <Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
    <FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
    </WizardExtension>
    <WizardData>
    <packages repository="extension" repositoryId="Microsoft.VisualStudio.10.MVC4.TemplatePackages-ENU">
    <package id="DotNetOpenAuth.AspNet" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Consumer" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OAuth.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.Core" version="4.0.3.12153" targetFramework="net45" />
      <package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.0.3.12153" targetFramework="net45" />
      <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
      <package id="jQuery" version="1.7.1.1" targetFramework="net45" />
      <package id="jQuery.UI.Combined" version="1.8.20.1" targetFramework="net45" />
      <package id="jQuery.Validation" version="1.9.0.1" targetFramework="net45" />
      <package id="knockoutjs" version="2.1.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Razor" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.Core" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.Data" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.OAuth" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.AspNet.WebPages.WebData" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" />
      <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
      <package id="Modernizr" version="2.5.3" targetFramework="net45" />
      <package id="Newtonsoft.Json" version="4.5.6" targetFramework="net45" />
      <package id="WebGrease" version="1.1.0" targetFramework="net45" />
    </packages>
    </WizardData>
    Plus, you don't need to reference the nuget wizard extension to your ProjectTemplateRoot.vstemplate, just in your MyTemplate.vstemplate will be ok. 

    Remove the packages folder, it will be created and filled by NuGet extension. Be sure

    • Proposed as answer by Ego Jiang Thursday, September 6, 2012 2:56 AM
    • Marked as answer by Ego Jiang Friday, September 7, 2012 3:09 AM
    Monday, August 27, 2012 12:07 PM
  • Hi ,

    Thanks,

    Great solution. it works perfectly in visulstudio 2010.how can i do this same in VS2012.

    is there any changes in the below code.

    <WizardData>

    <packages repository="extension" repositoryId="Microsoft.VisualStudio.10.MVC4.TemplatePackages-ENU">

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

    </WizardData>

    i have checked the packages location for visual studio 2010 in my system.


    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\ASP.NET MVC 4 template packages\1.0\Packages

    same for vs2012 packages location, i cant find myself. can you please suggest me any solution.

    Thanks,

    Siva



    siva

    Monday, August 27, 2012 1:35 PM
  • Check if you've installed ASP.Net MV4 extension on VS2012. Because it is an extension in VS2010, it's not deployed during VS installation, so it may be the same process if VS2012 does not install MVC4 in the VS Installer.

    When installed,maybe you'll find this directory

    Monday, August 27, 2012 1:40 PM
  • Hi Mathias,

    In vs2012 MVC4 installed as default (inbuild). so no need of vs extensions to install the MVC4.

     i want to know the below code changes in vs2012 and the packages directory.

    vs2012

    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions

    i cant find all the packages in above location for vs2012. can you please help me for packages in vs2012.

    Thanks,

    Siva


    siva

    Monday, August 27, 2012 1:50 PM
  • Hi Anyone,

    Please provide the solution for above question. very urgent one.. waiting for long time.

    Thanks,


    siva

    Wednesday, September 5, 2012 9:13 AM
  • Hi Siva,

    I marked Mathias' reply as answer.

    We can discuss your issue about intalled in VS2012 from:

    http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/bbcb9545-969b-4d22-80f1-b69d851c6296

    Best regards,


    Ego [MSFT]
    MSDN Community Support | Feedback to us

    Friday, September 7, 2012 3:09 AM
  • Sorry this makes no sense at all.  Pretend this is a math class and provide each step logically.
    Friday, October 12, 2012 1:22 PM