I have just upgraded a solution previously running in VS2008 on .NET 3.5
to VS2015 running on .NET 4.6
.
Some information about the project
- The solution only has one project and it is a
Unit Test Project
and simply creates 'AVTest.dll` which we load into NUnit to perform some functional tests on some hardware. - We do not run it directly, we open NUnit.exe through the start external program debug event. we load the .dll produced by the c# build and NUnit is able to run a series of tests. By running NUnit this way we have in the past been able to debug the routines in the unit test.
- NUnit version is 2.5.10 which uses .NET 2.0 (given that we were running and breaking with .NET 3.5 seems like this probably isnt it). Also i upgraded o The latest stable version of NUnit (2.6.4 .NET 3.5) and no change.
- We don't have a startup project - everything runs through NUnit.
Everything builds and runs correctly however i get the following error when trying to set breakpoints:
The breakpoint will not currently be hit. No symbols have been loaded for this document.
When i switch back to .NET 3.5 i am able to set breakpoints in the code. The fact that i can do this makes me think i am missing somerthing simple about the .NET version since i am not so familiar with c#
.
I am aware of this question and have tried all of the things from the question itself and the first page of answers.
Has there been any developments on how to check why there have been no loaded symbols?
A New Development
I am able to debug just fine when i attach to the Nunit test that is already running. I am not sure why it isnt attached after running (through start external program) or why this works in 3.5 and not 4.6, but it can be debugged ...