Under Visual Studio 2010, I am getting a compiler warning when generating a localized satellite assembly for a project. I am running Windows 7 64-bit.
The project is being built in x86 (it has to be as it indirectly references an unmanaged DLL - via Oracle ODP.NET).
The MSBuild log generates the following warning:
(GenerateSatelliteAssemblies target) ->
ALINK : warning AL1073: Referenced assembly 'mscorlib.dll' targets a different processor [xxx.csproj]
Is there any way to force this to use the same version of the framework as the assembly it is being generated from?
It is very frustrating as I like to have zero warnings in our build, and this is always there.
I reproduced this error (by mistake). My projects target x86 (because of 3rd party DLLs), but I ran MSBuild in VSx64 2010 command window. That sets Platform=X64 among other things. When I ran it under VS 2010 command window (for x86), I didn't get this warning.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With