ohmbju wrote: I have many web projects refer to a class library.
I know that once you add a "reference" to each web project, it'll
create an instance of that class library and put it in the web project
"bin" folder.
The thing is, what shall I do when I need to modify that class library without re-compiling the web projects?
Right now, what I am doing is copying the new .dll version of that
class library and pasting it in the website bin folder. Is there any
way to make that easier so that I don't have to go copy and paste to
all sites.
I know that if you open the web project, it'll update/refresh the
reference automatically but I really want to know the way to do it
without opening all web projects.
Thanks in advance!
You could add a Post-build event to your library project, such as
xcopy $(TargetPath) <yourpathhere> /Y /D.
Add one row for each website.
When you build your project, the target of the project will be copied to all specified sites.
I am not sure though, how your web-projects will react to this when you compile your solution.