I have a class library and want more than one application to reference it without setting the (Copy Local) property of the reference to True, i.e. I want the absolute path of the class library.
When I add reference to the DLL file of the class library it throws a run time error for not finding the location of the DLL file.
Is it possible to reference the class library with absolute path ?
MORE DETAILS
I was trying to test a specific scenario; I have a static class with a static variable in the class library and I made 2 test WinForm applications identical to each other (that simply set and get a static variable) that reference the class library.
I wanted to check if the static variable is shared between those 2 applications or not but I found they are not because the class library DLL file is copied to each application output directory.
This test was to decide if I should make a class in a class library in an application I am developing be static or no-static ?