יום שני 12 מרץ 2012 14:06
I am trying to Automate VS outside IDE. So, created a couple of Project Templates. Now, trying to programmatically add them to a solution which is created on the fly. But, the 'Solution2.GetProjectTemplate' method is not accepting the absolute path of the Project Template.
Can someone tell me whether there is a way to add a Project Template using its absolute path (because this Project Template is not in default path).
Thanks in advance!
יום שני 12 מרץ 2012 21:23
Can you help me a bit: how to create installer or any package, that will install my assemblies to VS shared assembly folder on target machine?
Sorry that i'm asking you here, but i think that you know the answer...
indigo children is coming...
יום רביעי 14 מרץ 2012 08:44מנחה דיון
According to my understanding, I think you want to use you customer project template to create the project in your solution.
If you want to perform this, you can try to use ProjectItems.AddFromTemplate Method which can create a new project item from an existing item template file and adds it to the project using absolutely path.
More information: http://msdn.microsoft.com/en-us/library/envdte.projectitems.addfromtemplate(v=vs.100).aspx
If I have misunderstood anything, please feel free to let us know. Thank you for your understanding!
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us
- סומן כתשובה על-ידי Pranav Ainavolu יום רביעי 14 מרץ 2012 08:46
יום רביעי 14 מרץ 2012 08:47Thanks Lucy!