Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Visual Studio C# target platform x86 but nuget package seems to me x64 - error when program runs

$
0
0

I have to build x86 program. I use package from nuget (ENet-CSharp). My program is bult succesfully but when I run it I get error System.BadImageFormatException which happens due to the package is x64 (As I suppose because when I set target platform to x64 no problem at all) and my target platform is x86. So I cannot understand how to resolve this situation. How to understand what is the architecture of package from nuget? And how to get the package with the architecture I needed.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>