Unattended installation of Visual Studio (C #)

Is it possible to specify which namespace "includes" should be automatically added when creating a new C # file in Visual Studio 2008?

Thanks!

+4
source share
2 answers

Yes, you can edit visual studio templates.

you can find templates for C # in: C: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ ItemTemplates \ CSharp

Each template is located in a zip file, simply editing the desired file in the archive.

Hope this helps.

+7
source

SUggest you are looking at ReSharper .. by JetBrains Inc ()

it offers and then automatically adds namespaces for you when you add a reference to a new class that needs it, as well as many other performance improvements.

+2
source

All Articles