Richard,
I have seen junior developers where I work who are reallyreallydumb set hard
references (not Project references, which are recommended) to the output in
the /obj folder.
I have no earthly idea what their logic was; normally build output is
directed to the /bin folder. That's best-practices. the obj folder is really
a temporary intermediate build output "work" folder and should not normally
be the target of the finished build.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"Richard J Foster" wrote:
> Hi there,
>
> I have a pair of C# projects in VS2003. The first project, a dll, is
> referenced in the second via a project reference.
>
> The assemblies in question are delay-signed during a "production" build
> process, but not as part of a normal development build.
>
> I have noticed that while the correctly signed assembly is present in
> the designated output folder for the project (e.g. bin/Release), an
> unsigned version is also present in an obj/Release folder.
>
> Even though the library has been built and signed correctly, the
> project which references it is grabbing the unsigned version of the
> library from the obj folder. Within VS 2003, the properties display for
> the project reference even confirms that it is coming from the obj
> folder, instead of the expected source - the designated output (bin)
> folder.
>
> 1) Is this the expected operation? (I don't believe it used to work
> this way, and have not intentionally changed anything)
> 2) Is there any way to still use project references, but pull the
> referenced dll from the designated output folder (i.e. bin/Release)?
>
> Thanks in advance,
> Regards,
> Richard
>
>