project-template

How to use wizard assemblies attached in VsixMainfest in project templates?

元气小坏坏 提交于 2019-12-06 15:56:59
I have a vsixmanifest file that has an assembly attribute. The file looks like: <Content> <ProjectTemplate>Solution</ProjectTemplate> <Assembly AssemblyName="SolutionNameWizard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1c39bfcc-223f-4c12-a5dc-55eeca7c61f7"> Assemblies\SolutionNameWizard.dll </Assembly> I know that the assembly name and public key are correct. Now, I am trying to use this assembly in one of my templates. Right now I have: <WizardExtension> <Assembly>SolutionNameWizard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1c39bfcc-223f-4c12-a5dc-55eeca7c61f7</Assembly>

Visual Studio 2010 Project Template doesn't show up

◇◆丶佛笑我妖孽 提交于 2019-12-05 18:58:11
I tried to edit a project template after exporting it from vs2010 by extracting it and after editing compressing it again. But after that it won't show up in visual studios new project dialog. So I tried it again, without the editing. Just extract and compress again. I even used windows zip mechanisms, but still wont work. Only the exported template works fine. I also tried what's written here: http://msdn.microsoft.com/en-us/library/ms185298.aspx to no avail. So is there some magic incantation nobody told me about to get it to work? pyranha Be carefull following Step 7 in http://msdn

Cancel VS2010 project creation from wizard

巧了我就是萌 提交于 2019-12-05 10:16:28
I created a wizard for a custom template in VS2010 And it works like a charm. But since the wizard contains a form required to finish the creation of the project, i feel that the user should be able to cancel the creation of the project. So my question being.. Is it possible to cancel the creation of a project/template process from inside a wizard implementing IWizard? These are the events i got at my disposal. public void BeforeOpeningFile(ProjectItem projectItem) public void ProjectFinishedGenerating(Project project) public void ProjectItemFinishedGenerating(ProjectItem projectItem) public

How to create a multi project template in visual studio 2013?

穿精又带淫゛_ 提交于 2019-12-05 00:26:46
问题 I followed the How to: Create Multi-Project Templates article to create a template that will generate a solution containing 4 projects. My Root.vstemplate file contains the following <VSTemplate Version="2.0.0" Type="ProjectGroup" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"> <TemplateData> <Name>Yugasat BeyondAdmin</Name> <Description>The Yugasat BeyondAdmin Project Template</Description> <Icon>Icon.ico</Icon> <ProjectType>CSharp</ProjectType> </TemplateData>

How to include a property sheet in VC project template

前提是你 提交于 2019-12-04 02:09:42
问题 I have a lot of VC projects in Visual Studio 2013 solution. For each project I keep most of it's properties in property sheet AllConfigurations.props , belonging to project's folder. I'm trying to create a project template for such project. I add AllConfigurations.props to template zip file and reference it in .vstemplate: <Project TargetFileName="Test.vcxproj" File="Test.vcxproj" ReplaceParameters="true"> <ProjectItem ReplaceParameters="false" TargetFileName="AllConfigurations.props"

Custom Project Type Templates

爱⌒轻易说出口 提交于 2019-12-03 23:04:59
When you create a new project in webstorm, you are given the option to create a new directory structure prepopulated with files: libraries, stylesheets, etc. for patterns like HTM5 boilerplate, Twitter boilerplate, etc. How does one create their own template for this? Is importing dummy projects the hack for it? I suggest not using templates. I find it far more easy and maintainable to create "empty" projects (from existing projects, of course) in a git repo (bitbucket, github, ...), clone one, and start from there. The .idea should be in the repo, but .idea/workspace.xml should be ignored, as

Add solution folder to visual studio project template

时光总嘲笑我的痴心妄想 提交于 2019-12-03 21:29:17
问题 Is it possible to add a solution folders with the project template? If it's not built in functionality, is it possible to create a custom task for this? 回答1: This is bit tricky. You cannot do this with simple project template. Project templates could operate only on single project level. To implement more advanced logic, you need to implement WizardExtension and register it within .vstemplate file of your template. <WizardExtension> <Assembly>AssemblyInGACWithSomeLogic</Assembly>

How to create a multi project template in visual studio 2013?

时间秒杀一切 提交于 2019-12-03 16:10:36
I followed the How to: Create Multi-Project Templates article to create a template that will generate a solution containing 4 projects. My Root.vstemplate file contains the following <VSTemplate Version="2.0.0" Type="ProjectGroup" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"> <TemplateData> <Name>Yugasat BeyondAdmin</Name> <Description>The Yugasat BeyondAdmin Project Template</Description> <Icon>Icon.ico</Icon> <ProjectType>CSharp</ProjectType> </TemplateData> <TemplateContent> <ProjectCollection> <ProjectTemplateLink ProjectName="PresentationLayer"> PresentationLayer

How to create or define a new target in a custom Xcode project template

痴心易碎 提交于 2019-12-03 11:42:56
问题 TL;DR: What XML snippets do I add to my TemplateInfo.plist files, to create a second compiler target when creating a new Xcode project? While working on my own Xcode project template, I'm trying to have KIF integration testing working in a 'out of the box' sort of way. KIF requires you to duplicate your regular target and then modify some properties. This is normally done manually, but it both takes time and leaves a margin for error, while it's so mundane it could be automated. For clarity,

Visual Studio multi-project templates rename namespaces and project names

纵饮孤独 提交于 2019-12-03 03:35:46
I've successfully created a multi-project solution template. What I would like to do, however, is to rename the beginning of each project with the name of the solution. So my projects: ProjectOne.A ProjectTwo.B Would be renamed to SolutionName.A SolutionName.B where SolutionName is the name by the user when they created the project. I've read the following articles: http://msdn.microsoft.com/en-us/library/ms185308.aspx http://msdn.microsoft.com/en-us/library/ms185311.aspx http://msdn.microsoft.com/en-us/library/ms247063.aspx but none seem to answer my specific situation. Danny Varod If your