In Visual Studio 2008, how can I add a 'using blah.myblah;' to all new page codebehinds? -
is there way modify default template new pages includes custom 'using' statements?
from steve's blog, suggests edit class.cs file located in:
%program files%\microsoft visual studio 9.0\common7\ide\itemtemplates\csharp\code\1033\class.zip
be sure regenerate template cache running:
%program files%\microsoft visual studio 9.0\common7\ide\devenv.exe /setup
make sure wait process exit (watch task manager!).
web templates in different zip:
%program files%\microsoft visual studio 9.0\common7\ide\itemtemplates\csharp\web\1033\webform.zip
Comments
Post a Comment