如何用Nsight调试C# OpenGL程序

 
Q: I have an OpenGL application written in C#. When I try to debug the application using Nsight 4.5, I get the following error:

Launch failed : Unable to launch .\program.exe because architecture type is MSIL

This was previously possible, and now its not. Is there a way around this?
 
A: Maybe you can try this:

- build your code target x86 or x64, but not AnyCPU

This may jump over your issue, but if it still show no success, I have to say Nsight don't official support .Net codes and binary files.
 
 
posted @ 2015-05-28 23:08  lilei9110  阅读(681)  评论(0编辑  收藏  举报