Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

automatically include class library

I wrote a class library and I know how I can use it, but before I can use the library in any Project, I have to add a reference to the library.

Now I want to know whether it's possible to tell Visual Studio to automatically add the reference to my library.

I'm using: Visual Studio 2012 Ultimate

like image 689
GitProphet Avatar asked Mar 15 '26 07:03

GitProphet


2 Answers

Yes, sort of. I don't think there is any plugin (nor should their be) that as soon as you open a project, any project, it will just add additional libraries.

That being said, you can always create your own project templates, so when you start a new website or a new app, it will automatically include what ever stuff you wanted by default. Including your library choices.

http://msdn.microsoft.com/en-us/library/xkh1wxd8.aspx

You could create your own project template and then when you create new project, you would pick your template

VS Project Template

like image 36
korhner Avatar answered Mar 16 '26 19:03

korhner