Referencing BO project DLL's from website in solution


Author
Message
Rusty Martin
Rusty Martin
StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)
Group: Forum Members
Posts: 3, Visits: 25

I seem to remember in a web solution demonstration that I saw, that you kept copying the DLL’s for the referenced BO project from the BO project to the website project each time he made a change to the BO’s and built them. It seems to me that the right way is to reference the BO project from the web project but each time it tries to get the new copy of the DLL from the BO project, I get an Access Denied error and I have to manually delete (using the file system) and then manually copy the files to the right bin folder to get the reference to update.

Am I correct to reference the BO project or is copying them manually the right way to update the reference when needed?


Reply
Charles Thomas Blankenship...
Charles Thomas Blankenship
Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)
Group: Awaiting Activation
Posts: 172, Visits: 12K
Hi Rusty:

Are you running the application in debug mode through Visual Studio?  If so, check for a little Icon down in the lower right hand side of the status bar.  It is a web server that is running under VS and it will take hold of your dll stoping an automatic copy on rebuild.  Before you build, right click on this little icon and select stop.  Then rebuild ... the BO dll should then be copied into the web app's bin folder.

Ben helped me fix this little problem last week ... I hope it will do the same for you.  As for me, it saved a ton of aggrevation and time ... thanks Ben.

Best and happy holidays,

CTBlankenship

Charles T. Blankenship
Senior Consultant
Novant Consulting, Inc.
704.975.7152
http://www.novantconsulting.com

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search