.net - Why do I need to rebuild after updating a lib dll -


i use lib dll file lot of common code push around project project. whenever need new feature on 1 of projects, grab , compile recent version of lib dll source, copy , paste mycommonlib\bin\release\mycommonlib.dll myproject\lib.

if run program immediately, find it's still using old version of dll! shouldn't file have been deleted copy w/ overwrite? need build all on solution make recognize new dll.

you need make sure dll copied bin folder of project used startup project.

by building startup project, should copy referenced dlls bin folder of main project within solution.

if not case might need write post-build step startup project copy dlls needs bin folder.

hope helps.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -