C
C#2w ago
Jacob

Swagger CLI when build multi-platform

I am attempting to build using a RID linux-arm64 on a machine that is linux-x64. In a simple console app this works fine however in a project that is using swagger cli, specifically dotnet swagger tofile --output I get an error "The assembly architecture is not compatible with the current process architecture." I am assuming that this is because the assembly is built targeting linux-arm64 but the swagger cli is running using the host architecture which is linux-x64. How do I get around this?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?