Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Visual Studio Add - In : Item template does not get included into project.

$
0
0

Hi 

I am creating a Visual Studio add in in which I am successfully able to add the project using custom project template. I am successfully able to add Item from the custom Item template that I have created but when I explore the solution explorer I see that the Item template files are excluded from the project. They were copied to the Solution but were excluded.

I am trying to add it using C# code. The following code would help better in understanding.

string vsItemTemplatePath_ULS = newSolution.GetProjectItemTemplate("aasd**", "CSharp");                
                newSolution.Projects.Item(1).ProjectItems.AddFromTemplate(ASDASDF**, "ABC");


Any pointers in this regards would be appreciated.

Thanks and Regards




Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>