
Signature
Gerhard Menzl
Humans may reply by replacing the obviously faked part of my e-mail
address with "kapsch".
--------------------
> From: Gerhard Menzl <gerhard.menzl@spambucket.net>
> Newsgroups: microsoft.public.dotnet.languages.vc
> Subject: Re: Metadata importing puzzle
> Date: Mon, 07 Jun 2004 09:19:00 +0200
> > Check the buildlog.htm and make sure the /FU was actually passed to the
> > compiler. Also, sometimes the order of assembly import makes a difference
[quoted text clipped - 6 lines]
> Strangest of all, after several builds with the #using directive, I
> removed it, and now everything works as expected. What is going on here?
Since the compiler does some type resolution when importing an assembly,
order of reference can sometimes affect the outcome. This is rare, and
results in compiler errors ("xyz not defined").
If it started working after repeated builds, I can only suspect that types
were missing, and somehow the assemblies were updated to include those
types. Is this possible?

Signature
Arjun Bijanki, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Gerhard Menzl - 08 Jun 2004 10:46 GMT
> If it started working after repeated builds, I can only suspect that
> types were missing, and somehow the assemblies were updated to include
> those types. Is this possible?
I don't think so. But frankly, my schedule is way too tight to invest
much time in exploring this peculiarity. Thank you for your assistance.

Signature
Gerhard Menzl
Humans may reply by replacing the obviously faked part of my e-mail
address with "kapsch".