Can't find C# class template file in Visual Studio folder -


i trying create visual studio 2010 add-in when run adds class opened solution's first project using envdte.

i've managed create add-in, reference opened solution , reference first project.

then want create class, , i've found following code:

string templatepath = sol.projectitemstemplatepath(prjkind.prjkindcsharpproject); templatepath += @"\csharpaddclasswiz.vsz"; 

the path points template file not exist. everywhere try file, it’s stated “you find in microsoft visual studio 10.0\vc#\csharpprojectitems”

here’s entire content of folder in installation of visual studio 2010:

http://i.stack.imgur.com/yfsmw.png

in fact i’ve searched file, , *.vsz in entire hard drive, , nothing found.

i have 2 questions:

1) did install visual studio incorrectly, file not available in visual studio folders?
2) how can file, if copy of it?

i realize having copy of , shipping in add-in mean in future, people generate classes old template, rather updated ones found in visual studio folders, want proceed tests, generate class, , move on until have first question solved.


there 2 things intrigue me on matter:

  • doesn't visual studio use these files while i'm creating classes through it's wizards?
  • i have visual studio 2008 installed too, , lacks these files.

you may have run repair on visual studio, there error during install.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -