ThinkGeo.com    |     Documentation    |     Premium Support

V14.3.0 - ESRI FileGeoDatabase - Compile Warning on MSIL & AMD64

ThinkGeo Team,

I’m getting the below compile warning. Doesn’t appear to cause a runtime issue, however, it is annoying to have to look at this every time I do a compile.

My projects are net8.0-windows.

Is there any way to resolve this?

Thanks,
Dennis

Warning (active) MSB3270 There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference “C:\Users\dberry.nuget\packages\thinkgeo.dependency.filegeodatabase\14.0.0\lib\netstandard2.1\Esri.FileGDBAPI.dll”, “AMD64”. This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. OriStarFileDatabaseViewer C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 2424

Hi Dennis,

It will disappear if the project is built under x64 instead of Any CPU, because the dependency is x64 only.

It’s something already on our todo list to remove it under Any CPU. I agree it’s annoying.

Thanks,
Ben

Yes, I’m compiling under AnyCpu. I’ll leave it that way and will get your change when it comes.

Thanks Ben.