Nsight 4.5 can't debug .NET applications
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?
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?

#1
Posted 01/15/2015 09:37 PM   
Hi IntelOrca, 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. Thanks An
Hi IntelOrca,

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.

Thanks
An

#2
Posted 01/19/2015 04:02 AM   
Thanks An, this fixed it.
Thanks An, this fixed it.

#3
Posted 01/19/2015 10:29 AM   
A word of warning to the reader, switch your project to 32 bit - not 64 bit if possible. I spent 2 hours switching from MSIL to 64 bit only to run into the issue mentioned here: https://devtalk.nvidia.com/default/topic/894669/graphics-debugging-on-mixed-mode-applications-/?offset=5#5214180
A word of warning to the reader, switch your project to 32 bit - not 64 bit if possible. I spent 2 hours switching from MSIL to 64 bit only to run into the issue mentioned here: https://devtalk.nvidia.com/default/topic/894669/graphics-debugging-on-mixed-mode-applications-/?offset=5#5214180

#4
Posted 10/13/2017 05:07 PM   
Scroll To Top

Add Reply