Hi is there a way to remove a library from the default set of libraries loaded when you create a new page on a project?
Pretty much what I want to do is stop the LINQ library being included automatically as my development machine runs on a higher version of the .net framework than my production machine and i keep forgetting to remove all the references any time I make a new page
I Looked on line and could not find anything other than how to use the library not remove it and cannot see an obvious way of doing it in visual studios
Thanks in Advance
Edit the template file for where Visual Studio is installed on your machine:
For example:
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\Windows Forms\1033\Form.zip
This should dicate how the templates are created. You could also create a custom template (as Daryal has suggested) and then edit this form within that template to stop your changes affecting all your projects in VS.
This page explains more about the templates. The content of a template will look something like this: