Nsight with C#/.NET: Allow AnyCPU/MSIL (with Prefer 32-bit)
Hello, Currently working on Xenko (C#) game engine (http://xenko.com) I know .NET is not officially supported by Nsight, however, in practice it happens to work well for us, providing us lot of meaningful info. However, we have one small problem with it: - If .exe application is compiled in MSIL (aka "Any CPU"), it complains it can't work (Unable to launch XXX.exe because architecture type is MSIL) - If I switch it to x86, it works; however, this is not a practical solution for us (for unrelated reasons we also want this .exe to be loadable by a 64 process as a plugin so it needs to be AnyCPU/MSIL) Could you please remove this AnyCPU/MSIL check (and only block on x64), or even better, also check the additional "Prefer 32-bit" flags when it is AnyCPU/MSIL before throwing the exception? If you do so, we would be able to use "Prefer 32-bit" with "Any CPU" (MSIL) platform. Note that "Any CPU" & "Prefer 32-bit" is the default when you create a project with VS2015, so it would also make it work right out of the box for all those people using SharpDX/OpenTK in C#. Thanks and keep up the great work!
Hello,

Currently working on Xenko (C#) game engine (http://xenko.com)

I know .NET is not officially supported by Nsight, however, in practice it happens to work well for us, providing us lot of meaningful info.

However, we have one small problem with it:
- If .exe application is compiled in MSIL (aka "Any CPU"), it complains it can't work (Unable to launch XXX.exe because architecture type is MSIL)
- If I switch it to x86, it works; however, this is not a practical solution for us (for unrelated reasons we also want this .exe to be loadable by a 64 process as a plugin so it needs to be AnyCPU/MSIL)

Could you please remove this AnyCPU/MSIL check (and only block on x64), or even better, also check the additional "Prefer 32-bit" flags when it is AnyCPU/MSIL before throwing the exception?

If you do so, we would be able to use "Prefer 32-bit" with "Any CPU" (MSIL) platform.

Note that "Any CPU" & "Prefer 32-bit" is the default when you create a project with VS2015, so it would also make it work right out of the box for all those people using SharpDX/OpenTK in C#.

Thanks and keep up the great work!

#1
Posted 06/05/2016 04:30 AM   
I'd like to second this request.
I'd like to second this request.

#2
Posted 10/13/2017 02:06 PM   
seconds too.
seconds too.

#3
Posted 11/06/2017 06:52 AM   
Hi, Thanks for your feedback. I am not sure about the plan or schedule, but I will take a track for your request and let you know if there are some update. Thanks, Letitia
Hi,

Thanks for your feedback.
I am not sure about the plan or schedule, but I will take a track for your request and let you know if there are some update.

Thanks,
Letitia

#4
Posted 11/08/2017 07:53 AM   
Scroll To Top

Add Reply