c# - Stop Visual Studio 2005 adding references to System.Data and System.XML -


does know how can stop visual studio 2005 adding references system.data , system.xml assemblies every time add class c# project? not use of them , need remove them everytime notice.

thanks.

that's because class template contains such. edit it, open:

c:\program files (x86)\microsoft visual studio 10.0\common7\ide\itemtemplatescache\csharp\code\1033\class.zip \class.vstemplate 

and remove unnecessary references.

to remove unnecessary namespaces, edit:

c:\program files (x86)\microsoft visual studio 10.0\common7\ide\itemtemplatescache\csharp\code\1033\class.zip \class.cs 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -