Nsight debuggind DLL project

IDE: Visual Studio 2010
OS: Windows 8, x64
Nsight Visual Studio Edition 4.1
nVidia GeForce GT 640M

I try to debug my .dll with NSight → Start CUDA Debugging and I’ve got an exception “%1 is not a valid Win32 application (System.ComponentModel.Win32Exception)”.

How can I fix it?

debug the application that uses the dll

Solution was extremely easy:(
I should’ve tried few combinations of Nsight User Properties.