Can I change the output of the Class Library DLL file location?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I'm working on different projects that each is a class library which is
run off of a main application. Can I change the output path of just the
compiled DLL file to the path of the main applicatin for testing. I'm
getting very tired of copying that file to the main directory after each
compilation during the debbuggin.

Thanks,
Alpha
 
On the Properties for each Referenced Item there is a setting called "Copy
Local". Make sure this is set to true and it should copy your compiled
DLL's to the main app directory for you automatically.
 
I am compiling this class library to produce a dll. I then copy that to the
main applicatin that is installed on my PC so I can see if the class library
is working correctly. I'm not compiling the main applciation. I'm not sure
where is the Referenced item Property that you are referring to? I checked
the Project Property but can't find the Copy Local option.

Thanks,
Alpha
 
Ahhh I thought you were compiling the entire project, in which case your
references could be included as projects in the solution. Try Project >
Properties > Build from the Main Menu of VS.NET. Of course this makes a
basic assumption that you're compiling the DLL's on your local machine as
well, or at least have a mapped drive to your machine.
 
Ooh, so cool. It works! And puts only the dll in the correct path. Thanks
so much. I ony wish I have asked for help much earlier.

Alpha
 
Back
Top