Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to specify two wizard assemblies under tag in project template to create mvc4 application (vs2010)

$
0
0

I have posted some query in below link and got solution

http://social.msdn.microsoft.com/Forums/en-HK/vsx/thread/a271e786-4ac1-4492-9ab7-5e866e1e5155

i am using multi-project  template concept. That means , one root template is there. In root template will load 3 different templates with wizard concept.  

based on the wizard option chosen i will load only single template from 3 templates.

i want to create mvc4 project using project template with wizard concept. In mvc4 packages concept is there. so need to specify the Nuget packages in wizard extension .   Please refer below project template code snippet.

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

<WizardExtension>
<Assembly>
MVC.Extensions.WizardFramework, Version=10.304.0.43, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89
</Assembly>
<FullClassName>
MVCProjectTemplate.IWizardImplementationChild
</FullClassName>
<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="AspNetMvc" version="4.0.20126.16343" />
  <package id="AspNetRazor.Core" version="2.0.20126.16343" />
  <package id="AspNetWebApi" version="4.0.20126.16343" />
  <package id="AspNetWebApi.Core" version="4.0.20126.16343" />
  <package id="AspNetWebPages.Core" version="2.0.20126.16343" />
  <package id="EntityFramework" version="4.1.10331.0" />
  <package id="jQuery" version="1.6.2" />
  <package id="jQuery.Ajax.Unobtrusive" version="2.0.20126.16343" />
  <package id="jQuery.UI.Combined" version="1.8.11" />
  <package id="jQuery.Validation" version="1.8.1" />
  <package id="jQuery.Validation.Unobtrusive" version="2.0.20126.16343" />
  <package id="knockoutjs" version="2.0.0.0" />
  <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
  <package id="Microsoft.Web.Optimization" version="1.0.0-beta" />
  <package id="Modernizr" version="2.0.6" />
  <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="System.Web.Http.Common" version="4.0.20126.16343" />
  <package id="System.Web.Providers" version="1.1" />
  <package id="System.Web.Providers.Core" version="1.0" />
</packages>
</WizardData>

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

but the above code is not working (i.e. packages folder not installed in root node). when am specifying only nuget wizard extension , it will install packages folder . 

my requirement is need to specify the two wizard assemblies in wizard extension to create mvc4 project.  

how can i do this ?

please download the project template from below link.

Mvc3Razor.zip

Need response ASAP. waiting for your reply.

Thanks,


siva


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>