.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
Post a Comment