erroneous Missing Assembly build errors?

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
 
P

Peter Huang [MSFT]

Hi

I think you may try to recreate the solution file and add the existing
projects one by one according to the correct order.
Also try to use project reference if possible, and check the Project Build
Order in the Solution file.

BTW: for IDE issue, I suggest you post in the IDE related newsgroup, so
that many experts in that field will be of help.
microsoft.public.vsnet.ide
microsoft.public.vsnet.general

Thanks for your understanding!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Guest

Hi Peter...

Thank you for your response. I didn't imagine that the IDE itself would
have its own newsgroup. I'll post there about such questions in the future.

Thanks
-Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top