VS 2010, NUNit, and “The breakpoint will not currently be hit. No symbols have been loaded for this document”

后端 未结 9 1115
盖世英雄少女心
盖世英雄少女心 2021-02-05 02:38

Using Windows 7 32 bit, VS 2010, .NET 4 DLL, NUnit (2.5.5) to unit test the application. I\'m currently getting the following error; seen plenty of posts and tried the followin

9条回答
  •  执念已碎
    2021-02-05 02:51

    There's another similar question here on Stack Overflow, where I posted my answer with what worked for me. I can set breakpoints and start NUnit directly from Visual Studio 2010 with Debug -> Start New Instance (which I think is your goal).

    I set nunit.exe as the external program in project -> Properties -> Debugging and added:

    
        
    
    

    to the nunit.exe.config file found next to the nunit executable in the NUnit install directory.

提交回复
热议问题