Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual Studio 2010 solution template default location
    primarykey
    data
    text
    <p>I have created a Visual Studio 2010 solution template that contains 2 projects, so far everything is working fine, however for some reason when I create the project the solution sits outside of the project folder, and I want it to sit inside.</p> <p>This is my solution vstemplate:</p> <pre><code>&lt;VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="ProjectGroup"&gt; &lt;TemplateData&gt; &lt;Name&gt;JWT Web Application&lt;/Name&gt; &lt;Description&gt;ASP.NET MVC 3 Web Application Boilerplate&lt;/Description&gt; &lt;ProjectType&gt;CSharp&lt;/ProjectType&gt; &lt;TemplateGroupID&gt;Web&lt;/TemplateGroupID&gt; &lt;NumberOfParentCategoriesToRollUp&gt;1&lt;/NumberOfParentCategoriesToRollUp&gt; &lt;SortOrder&gt;1&lt;/SortOrder&gt; &lt;CreateNewFolder&gt;true&lt;/CreateNewFolder&gt; &lt;DefaultName&gt;ClientName&lt;/DefaultName&gt; &lt;ProvideDefaultName&gt;true&lt;/ProvideDefaultName&gt; &lt;LocationField&gt;Enabled&lt;/LocationField&gt; &lt;Icon&gt;__TemplateIcon.png&lt;/Icon&gt; &lt;PreviewImage&gt;__PreviewImage.png&lt;/PreviewImage&gt; &lt;EnableLocationBrowseButton&gt;true&lt;/EnableLocationBrowseButton&gt; &lt;PromptForSaveOnCreation&gt;true&lt;/PromptForSaveOnCreation&gt; &lt;RequiredFrameworkVersion&gt;4.0&lt;/RequiredFrameworkVersion&gt; &lt;/TemplateData&gt; &lt;TemplateContent&gt; &lt;ProjectCollection&gt; &lt;ProjectTemplateLink ProjectName="$safeprojectname$.Core"&gt; Boilerplate.Core\Boilerplate.Core.vstemplate &lt;/ProjectTemplateLink&gt; &lt;ProjectTemplateLink ProjectName="$safeprojectname$.Web"&gt; Boilerplate.Web\Boilerplate.Web.vstemplate &lt;/ProjectTemplateLink&gt; &lt;/ProjectCollection&gt; &lt;/TemplateContent&gt; &lt;WizardExtension&gt; &lt;Assembly&gt;Boilerplate.Wizard, Version=1.0.0.2, Culture=neutral, PublicKeyToken=e42ebd7a9847495c&lt;/Assembly&gt; &lt;FullClassName&gt;Boilerplate.Wizard.RootWizard&lt;/FullClassName&gt; &lt;/WizardExtension&gt; &lt;/VSTemplate&gt; </code></pre> <p>I then create the project:</p> <p><img src="https://i.stack.imgur.com/Naumh.png" alt="Project Screen"></p> <p>Now in my inetpub directory I have the following structure:</p> <blockquote> <p>C:\inetpub\wwwroot\MyClientProject.sln<br> C:\inetpub\wwwroot\MyClientProject.suo<br> C:\inetpub\wwwroot\MyClientProject\<br> C:\inetpub\wwwroot\MyClientProject\MyClientProject.Core\<br> C:\inetpub\wwwroot\MyClientProject\MyClientProject.Web\ </p> </blockquote> <p>How can I set it up so the structure is like this?</p> <blockquote> <p>C:\inetpub\wwwroot\MyClientProject\<br> C:\inetpub\wwwroot\MyClientProject\MyClientProject.sln<br> C:\inetpub\wwwroot\MyClientProject\MyClientProject.suo<br> C:\inetpub\wwwroot\MyClientProject\MyClientProject.Core\<br> C:\inetpub\wwwroot\MyClientProject\MyClientProject.Web\ </p> </blockquote> <p>I tried setting the element to false, but that didn't seem to do anything. Thank you in advance!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload