project-template

Visual Studio multi-project templates rename namespaces and project names

。_饼干妹妹 提交于 2019-12-20 14:24:45
问题 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

Remove Custom Project Template that was Automatically Imported

依然范特西╮ 提交于 2019-12-20 10:24:56
问题 I deleted the exported zip file that was placed in my exported templates folder and of course it still shows in Visual Studio's "Add New Project" dialog. I expected that but I'm having a difficult time finding where else the template files are stored. How do I remove a custom template? Edit I've searched the following folders (and numerous others, but these are the most obvious): %ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates %ProgramFiles%\Microsoft Visual Studio 10

MVC5 project template for Visual Studio 2012

夙愿已清 提交于 2019-12-18 11:50:24
问题 I'd like to get started with ASP.NET MVC 5 using Visual Studio 2012. I've installed the "ASP.NET And Web Tools 2013 for Visual Studio 2012, but this "only" gives me an "Empty ASP.NET MVC 5 Project" template. For MVC4 web projects, I can select different kinds of Web applications (like "Standard", "Internet", "Intranet" etc.). And I've seen screenshots with similar options for Visual Studio 2013. Are there any project templates (for VS2012) which allow me to do the same for MVC5 applications?

How to make ReSharper re-evaluate its assembly reference highlighting

梦想与她 提交于 2019-12-17 14:59:31
问题 I am creating a Prism Project Template, and the template works great. But after I create a project with the template some of the files look like this: Despite appearances, everything is just fine. If I do a Rebuild All I see that the solution builds with no errors: But the rebuild all does not get rid of the "errors" that are showing in the editor window. (Note that the actual error window does not show any errors.) I can clean, rebuild, close and open files, and it will not fix the

Visual Studio 2010 Project Template doesn't show up

寵の児 提交于 2019-12-12 09:45:38
问题 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

Visual Studio Project Template and Private Assembly Referencing

一世执手 提交于 2019-12-10 21:29:16
问题 I noticed someone else asked a similar, if not exactly the same, question before, but the answer to it didn't help (me, anyway). I have a project that I'm building a template from. When I go to reference an assembly in the Program Files, the template project itself will build fine, but any projects built off of it cannot find the referenced assembly. I tried editing the csproj directly, but that didn't work either. How do I reference non-GACed DLLs like that? Am I forced to use an IWizard

VS 2010 SDK. Templates

*爱你&永不变心* 提交于 2019-12-10 20:27:37
问题 If you try and create an MVC3 project, you’ll see that you have an ability to add Controller or View with rc. And context menu you get on Controller folder with rc will magically suggest to add Controller while on the Views you’ll be suggested to add View. As I understand, to achieve this I need to bind somehow 4 things. Project template, Item template, T4 templates (used to generate Contoller class or View) and a wizard lieing between T4 and Intem template (within WizardExtension section in

What is the best way to include references to my own assemblies in a project template?

做~自己de王妃 提交于 2019-12-10 14:53:43
问题 We have developed a library in C#, and now I wish to create a project template to aid in using the library correctly. I want new projects to include a reference to the library assembly, but would prefer not to have to deploy the assembly to the GAC, or to depend on the assembly residing in some specific location. What I am thinking is to include the .dll in the project template .zip file. That means it will end up somewhere inside the project folder of new projects. Perhaps in a folder named

Custom Project Type Templates

可紊 提交于 2019-12-09 14:20:17
问题 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? 回答1: 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, ...),

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

六眼飞鱼酱① 提交于 2019-12-08 06:33:58
问题 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,