I’m very new to C#, my background is mainly in C w/ some OOP in C++. I’m sure I’m phrasing this incorrectly which is why google isn’t helping me but here goes.
I have two programs which use the same class library, when I add the class library to a solution containing one of the programs the class library is compiled as a .dll and then linked to the main solution. Is it possible to compile the library code directly into the solution code?
I can do this by importing the class library code into the the main projects hierarchy but I don’t want to do this as I must update any changes to the library in two places..
Should I define my class library as a different entity, is there an option in the solution settings of Visual Studio 2010 to do what I want?
Just add the files containing your class library to your project by reference rather than adding as a copy.