Last post Feb 25, 2013 03:35 AM by london24
Feb 24, 2013 06:43 PM|london24|LINK
I have a multi-project solution. From my live website project I used to reference each projects dll directly by copying and pasting them into the live website projects bin directory - before I realised I could add a reference to a project (right-click add
reference > project tab). I have now added references the correct (latter) way.
However when I deploy my live website project to the live server, it still wants to find the dll's directly in the bin folder.
Why is this? When I make a change now to one of the projexts, my live server project (when deployed) still uses the old dll in the bin folder.
It works locally.
Feb 25, 2013 12:24 AM|Rajneesh Verma|LINK
Its mandatory that you should have a proper reference path in main project when adding the reference,
It would be better add reference from main web project's bin folder and when ever you modify the project build that and put their dll in Web project's Bin folder.
It will surely work.
Feb 25, 2013 03:35 AM|london24|LINK
This is how I resolved it - I still used project reference localy but when deploying amde sure I added the dll of each referenced project into the deployed webwsite bin folder