简体   繁体   中英

Failed to load XnaNative.dll

I've been using XNA to make games using C#. It has been working fine for at least the past year or so. However, suddenly, whenever I tried to run a game with any content item in it whatsoever, it gives me this error: "Building content threw FileNotFoundException: Failed to load XnaNative.dll. Please verify that you have the XNA Framework installed." I have reinstalled XNA and all of my editions of Visual Studio, and it still gives me this error. Any ideas?

Thanks!

没关系,原来问题出在一个或两个项目上:我通过转到项目属性中的“内容构建”选项卡,然后取消选中“压缩内容管道输出文件”来解决了该问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM