Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a dll in developement

Status
Not open for further replies.

jayscot

MIS
Feb 2, 2001
25
US
How do I run a dll in code with .net? I know that in VB6 All I had to do was start my dll project and reference it from another project. Right now all I see that I can do is recompile the dll everytime.
 
By default, when you set a reference, VS.NET copies the referenced DLL into your referencing project's <releasetarget>\bin directory (where <releasetarget> is usually &quot;debug&quot; or &quot;release&quot;) That way it behaves like a private assembly and you have no versioning problems (like when you access it via the global assembly cache).

There is one big drawback, though, and that's if you make a change to the DLL. You will have to re-set the reference to the DLL, whereupon VS.NET will copy the new version to your project's <releasetarget>\bin directory, and you'll be able to make use of the new feature/bugfix.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top