Skip to content

Trying to build a .NET Standard Steamworks.NET.dll that targets Any CPU #699

@klootas

Description

@klootas

I'm building a Godot game that uses .NET 9 (which is compatible with .NET Standard dll:s)., I downloaded your VS solution and I'm trying to make a Windows build that targets Any CPU so it will work regardless of the architecture.

By default your VS solution creates an x86 build that I cannot even call from my .NET 9 in runtime. If I change it produce an x64 dll it works in runtime, but only if running on x64 hardware. Any tips on how to build the dll so it targets Any CPU?

Edit: Then again, I guess they would still have to reference architecture-specific version of the steam_api dll. Any thoughts on how to package this up neatly in a standard .NET app?

Thanks a bunch!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions