Skip to content

SharpProj for platform target x64 #67

@torbjornd

Description

@torbjornd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions