GurdeepS
GurdeepS

Reputation: 67243

Updating a dll in a winforms app from a separate project

I have a winforms app with some code in a class library. The winforms app references the class library and its dll. If I make a change to the class library, what is the most efficient way to update the dll in the winforms app?

Thanks

Upvotes: 0

Views: 216

Answers (1)

Ignacio Soler Garcia
Ignacio Soler Garcia

Reputation: 21855

To make the answer simple: use a post-build events to copy the new DLL to the windows executable folder.

Another option: use project references instead of file references and you will get all this handled automatically by Visual Studio.

Upvotes: 1

Related Questions