Problem with /clr switch in Whidbey

  • Thread starter Thread starter Alexander
  • Start date Start date
A

Alexander

Hi there,

I'm trying to compile the program with Whidbey but I got the following
problem:

------- cut here -----------
c:\h>cl h.cpp /clr
[many warnings skipped]

h.cpp(152) : error C3396:
'System.Runtime.CompilerServices.IsImplicitlyDereferenced'
: custom attribute not found in 'mscorlib.dll'

h.cpp(152) : fatal error C1903: unable to recover from previous
error(s);
stopping compilation
------- cut here -----------

If I try to target AMD64 with x86 cross compiler things go even worse
- some libraries are corruped. What's wrong?

Regards,
Alexander
 
Back
Top