Agora-C_Sharp-SDK icon indicating copy to clipboard operation
Agora-C_Sharp-SDK copied to clipboard

The Nuget only works on x86 targets

Open xultz opened this issue 2 years ago • 3 comments

Hello, I added the Nuget to a new project, and it only runs if I set the target of my project to x86. If I set to x64, it doesn't run, giving me an exception: An unhandled exception of type 'System.BadImageFormatException' occurred in Host_Test_1.dll Could not load file or assembly 'agorartc, Version=3.6.2.0, Culture=neutral, PublicKeyToken=null'. Trying to load a program in incorret format.

Is there a Nuget version of the library that runs on x64 targets?

xultz avatar Jun 27 '22 14:06 xultz

What is you app project architecture, .netCore, .netFramework or others?

sbd021 avatar Jun 29 '22 02:06 sbd021

Right now I'm using .Net 5.0 What is the recommended framework to work with the Agora library?

xultz avatar Jun 29 '22 11:06 xultz

APIExample in this repo is based on .netCore winform and support .netcore 2.0 or later. You can try APIExample using VS2019.

sbd021 avatar Jul 04 '22 09:07 sbd021