Compiling Option/error /clr Visual Studio .NET
Hi,
I'm using a dll file like this : #using <mscorlib.dll> but my compiler gives me the error :
fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option
If i change the 'Used Managed Extensions' option to Yes, all the other classes i made are beeing compiled also with this option. How can i code this option inline so only this dll file is compiled with /clr option ?
(I already found the method #pragma unmanaged and #pragma managed but do i have to put this before every class/function i already made ?)
Thanks.
(C++)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement