G
Guest
Hi...
I was wondering if anyone has seen this before. I've seen it on a couple of
projects now, so I'm finally prompted to ask.
I've had a couple of multi-project solutions where several of the projects
will reference the same assembly. But every now and again, I get a case
where say 1 of the 3 projects won't build, saying that there's a missing
assembly reference - even though the assembly in question is listed on the
References section for all projects.
More weird things about the condition:
1) the build failures are in debug mode, not release.
2) the build failures can be fixed by removing the reference and re-adding
it - but when you close the ide and re-open it, the build problem is back.
You have to keep removing and re-adding the same assembly reference.
3) the build failures can also be fixed by building release before debug.
If you build release first (which works) and then build debug, it works
I've compared all of the properties for each of the projects and assembly
references, and I can't find any salient differences (other than project
names and main class). Anyone have any idea what's messed up in the ide that
it's reporting phantom errors? I'm using VS .Net 2003 on a W2K box.
Thanks
_mark
I was wondering if anyone has seen this before. I've seen it on a couple of
projects now, so I'm finally prompted to ask.
I've had a couple of multi-project solutions where several of the projects
will reference the same assembly. But every now and again, I get a case
where say 1 of the 3 projects won't build, saying that there's a missing
assembly reference - even though the assembly in question is listed on the
References section for all projects.
More weird things about the condition:
1) the build failures are in debug mode, not release.
2) the build failures can be fixed by removing the reference and re-adding
it - but when you close the ide and re-open it, the build problem is back.
You have to keep removing and re-adding the same assembly reference.
3) the build failures can also be fixed by building release before debug.
If you build release first (which works) and then build debug, it works
I've compared all of the properties for each of the projects and assembly
references, and I can't find any salient differences (other than project
names and main class). Anyone have any idea what's messed up in the ide that
it's reporting phantom errors? I'm using VS .Net 2003 on a W2K box.
Thanks
_mark