project-template

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

半城伤御伤魂 提交于 2019-12-03 02:04:16
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, I'm looking to create the second target in this screenshot automatically : I got quite far with the

Remove Custom Project Template that was Automatically Imported

别说谁变了你拦得住时间么 提交于 2019-12-02 22:15:44
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.0\Common7\IDE\ProjectTemplatesCache %userprofile%\Documents\Visual Studio 2010\My Exported Templates

What does Apple use for XCode 4 template generation?

倖福魔咒の 提交于 2019-12-01 18:13:16
Xcode 4 completely changed the (project) template system. There's a lot more you can do now, but it comes at a price. Take a look in the TemplateInfo.plist files scattered around your /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application folder and you'll quickly lose the perspective. The new setup is very hard to modify, even harder to re-create. The writer of boreal-kiss.net has a real good post about the new structure . One of the things he mentions struck me because I had the same thought while connecting the dots of the extensive use of

What does Apple use for XCode 4 template generation?

不羁岁月 提交于 2019-12-01 16:58:15
问题 Xcode 4 completely changed the (project) template system. There's a lot more you can do now, but it comes at a price. Take a look in the TemplateInfo.plist files scattered around your /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application folder and you'll quickly lose the perspective. The new setup is very hard to modify, even harder to re-create. The writer of boreal-kiss.net has a real good post about the new structure. One of the things he

How to include a property sheet in VC project template

我只是一个虾纸丫 提交于 2019-12-01 12:06:11
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">AllConfigurations.props</ProjectItem> But when creating new project with this template, Visual Studio displays

How to add folder reference in XCode 4 Project Template

有些话、适合烂在心里 提交于 2019-12-01 07:28:11
问题 i have some problems about adding folder reference in xcode 4 project template, i just can add Groups and Sub Groups to project. does anyone successed doing this? please share here.. here's the code that i use to add Group: <key>Definitions</key> <dict> <key>main.h</key> <dict> <key>Path</key> <string>main.h</string> <key>Group</key> <string>css</string> </dict> </dict> <key>Nodes</key> <array> <string>main.h</string> </array> that code just generate Group not a Folder Reference...please help

Add solution folder to visual studio project template

不问归期 提交于 2019-11-30 23:23:50
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? 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> <FullClassName>MySuperWizardExtension</FullClassName> </WizardExtension> You can find more about wizard extensions on

How can I delete bad Visual Studio templates?

六眼飞鱼酱① 提交于 2019-11-30 05:54:59
How do you remove following noise templates, that don't even work? In visual studio: go to Tools>Extensions and Updates and then uninstall or disable the template To save a bit of time for 2010 users, the folder has moved: ...\My Documents\Visual Studio 2010\Templates\ProjectTemplates Alex For Visual Studio 2013 , I found my template cache here: %USERPROFILE%\AppData\Roaming\Microsoft\VisualStudio\12.0\ProjectTemplatesCache Deleting them off of disk should do the trick. Where they exist will depend a bit on where you installed them. If you installed them for all users they will be at

MVC5 project template for Visual Studio 2012

北城余情 提交于 2019-11-30 04:54:42
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? It seems that "currently" there is only included the Empty Project template, and MS officially hasn't

How can I delete bad Visual Studio templates?

◇◆丶佛笑我妖孽 提交于 2019-11-29 06:13:56
问题 How do you remove following noise templates, that don't even work? 回答1: In visual studio: go to Tools>Extensions and Updates and then uninstall or disable the template 回答2: To save a bit of time for 2010 users, the folder has moved: ...\My Documents\Visual Studio 2010\Templates\ProjectTemplates 回答3: For Visual Studio 2013 , I found my template cache here: %USERPROFILE%\AppData\Roaming\Microsoft\VisualStudio\12.0\ProjectTemplatesCache 回答4: Deleting them off of disk should do the trick. Where