Modifying default 'using' statements
-
Does anybody know how / where to modify the default list of 'using' statements that Visual Studio automatically places in new C# files. I use System.Diagnostics in almost every file for Debug.Assert and it's a pain to keep having to add the 'using' for it manually. A friend of mine who works in VB.NET says you can edit the import statements in the project settings, but I can't find the same for C#. I'm open to a hack which modifies it directly in some text file, registry whatever ;-) Roel
-
Does anybody know how / where to modify the default list of 'using' statements that Visual Studio automatically places in new C# files. I use System.Diagnostics in almost every file for Debug.Assert and it's a pain to keep having to add the 'using' for it manually. A friend of mine who works in VB.NET says you can edit the import statements in the project settings, but I can't find the same for C#. I'm open to a hack which modifies it directly in some text file, registry whatever ;-) Roel
-
Does anybody know how / where to modify the default list of 'using' statements that Visual Studio automatically places in new C# files. I use System.Diagnostics in almost every file for Debug.Assert and it's a pain to keep having to add the 'using' for it manually. A friend of mine who works in VB.NET says you can edit the import statements in the project settings, but I can't find the same for C#. I'm open to a hack which modifies it directly in some text file, registry whatever ;-) Roel
Some files that you can edit can be found in the following directories: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\NewFileItems C:\Program Files\Microsoft Visual Studio 8\[input .NET language]\DesignerTemplates\1033
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]