You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I'm trying to use this library in an ArcGIS Pro Add-in. The ArcGIS Pro SDK supports only x64, and I'm not able to use this library now. I first got the FileNotFoundException mentioned in #25 and after adding
System.BadImageFormatException: Could not load file or assembly 'C:...\net8.0\runtimes\win-x64\lib\netcoreapp\SharpProj.dll'. Format of the executable (.exe) or library (.dll) is invalid.
Does SharpProj support x64, or are you going to add this support any time soon?
The text was updated successfully, but these errors were encountered:
I believe the reason why it does not support x64 is because this configuration is missing from the project file:
SharpProj.NetTopologySuite.csproj
This project only has the "any CPU". If the x64 configuration is added, the package runs fine on an x64 only project I have created. My project is only running net6.0, so I do not know if there are other net8.0 issues.
It will be really nice it this gets fixed, and a new version of the nuget package is release. This makes maintenance a lot easier in the future.
Hi.
I'm trying to use this library in an ArcGIS Pro Add-in. The ArcGIS Pro SDK supports only x64, and I'm not able to use this library now. I first got the FileNotFoundException mentioned in #25 and after adding
<ItemGroup> <Content Include="$(NetCoreTargetingPackRoot)\Microsoft.NETCore.App.Host.$(NETCoreSdkRuntimeIdentifier)\$(BundledNETCoreAppPackageVersion)\runtimes\$(NETCoreSdkRuntimeIdentifier)\native\ijwhost.dll" Link="ijwhost.dll"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> </ItemGroup>
and
<PropertyGroup> <UseIJWHost Condition="'$(TargetFramework)' == 'net8.0'">true</UseIJWHost> </PropertyGroup>
I now get an error saying
System.BadImageFormatException: Could not load file or assembly 'C:...\net8.0\runtimes\win-x64\lib\netcoreapp\SharpProj.dll'. Format of the executable (.exe) or library (.dll) is invalid.
Does SharpProj support x64, or are you going to add this support any time soon?
The text was updated successfully, but these errors were encountered: