I have notebook with integrated Intel and NVIDIA graphic cards and I want to run my program (written in C# with .NET) debugging in Visual Studio 2013 Community Edition on NVIDIA card, as my program extensively works with OpenGL and Intel card not support latest OpenGL features. But by default settings program runs on Intel card.
I have tried changing default graphic card for my program in NVIDIA settings, but it looks like after program recompiling settings are reset.
So, are there any other simple ways to run program on NVIDIA graphics card? Maybe there are special command line parameters or something like that?
After a couple of hours of searching I found the solution at http://drivenbynostalgia.com/files/SOP.cs
I guess it's better than moving the entire project into dll and using C++/CLI launcher.