My .NET 6 C# application uses Direct3D9 via the SlimDX library. It also uses Direct2D via the SharpDX library.
When I start it through Nvidia NSight, the application just crashes. The Windows event viewer shows the following error message:
Application: Application.exe
CoreCLR Version: 6.0.1623.17311
.NET Version: 6.0.16
Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FF950102361 (00007FF94FF30000) with exit code c0000005.
Should NSight work with .NET applications? Since this is an error in the runtime (rather than application code), I’m having a hard time finding the problem.