Hi, I'm trying to get the a CSharp version of a custom template for a Web application and I always get FileNotFound exception.
I tried putting MyWebApp.zip file in the local User's template folder and the VS Web templates folder (and ran devenv /setup) and none of that is working.
I tried the example given in another thread for VS Built in templates
solution.GetProjectTemplate("WebApplication.zip", "Web");
and it always returns the Visual Basic template and I can't get the CSharp version. Even if I try:
solution.GetProjectTemplate("CSharp\\1033\\WebApplication.zip", "Web");
I get "FileNotFoundException".
Any idea of what could be wrong
Thanks
Gabo

Can't get CSharp Web templates using GetProjectTemplate (bug?)
Michael_Law
That woked, thanks!
(There seems to be a lot of interesting details missing from the MSDN documentation!).
Gabo
BadgerT
To get the Web templates use the following:
solution.GetProjectTemplate("WebApplication.zip", "Web\CSharp");
Chetan