W
WineNCheese
I have a solution that has several projects, where many of the projects
contain controls that are discovered at runtime, rather than direct
reference (this is a requirement). Therefore, the 'copy local' reference
copy mechanism for of visual studio does not apply.
My first attempt at setting up the solution was to set the output directory
for the projects to a common directory. This did not work for the common
dll's that are referenced by several projects because the dll is locked,
presumeably because of intellisense. This was a while ago, so I don't
remember all the exact problems, but they all had to do with projects being
in use, preventing me to build.
My second attempt (and current) is to let each project have its own output
directory, and also copy the output in a post build step to a bin directory.
This works most of the time. However, occasionally, the post build step
will fail for some projects will fail, claiming the dll is locked -
presumeably for the same reason as my first attempt. Why this sometimes
works, and others not, I have no idea.
My question: is there any way to reliably setup a solution so that I can
copy
the output assembly after it builds to another location. It seems like a
simple
need, doesn't it?
Thanx...
contain controls that are discovered at runtime, rather than direct
reference (this is a requirement). Therefore, the 'copy local' reference
copy mechanism for of visual studio does not apply.
My first attempt at setting up the solution was to set the output directory
for the projects to a common directory. This did not work for the common
dll's that are referenced by several projects because the dll is locked,
presumeably because of intellisense. This was a while ago, so I don't
remember all the exact problems, but they all had to do with projects being
in use, preventing me to build.
My second attempt (and current) is to let each project have its own output
directory, and also copy the output in a post build step to a bin directory.
This works most of the time. However, occasionally, the post build step
will fail for some projects will fail, claiming the dll is locked -
presumeably for the same reason as my first attempt. Why this sometimes
works, and others not, I have no idea.
My question: is there any way to reliably setup a solution so that I can
copy
the output assembly after it builds to another location. It seems like a
simple
need, doesn't it?
Thanx...