The situation is as follows:
I have a Windows 10 Machine with Visual Studio 2019, and created a c# .NET project in debug mode there and it Works.
The program happens to throw an unhandled exception with a meaningless/ambiguous message on a different Windows 7 machine. On that machine, Visual Studio 2008 happens to be installed. I get asked whether to use it for debugging, and I'd love to do so, to get the code which caused the exception. After copying over all the source files onto the Windows 7 machine I find that I cannot load the project using Visual Studio 2008, since VS 2008 refuses to load project files created with newer versions of Visual Studio.
I do, however, get an offer to use the Visual Studio 2008 debugger upon the crash, but if I use it, all I get is rather useless assembler code and a meaningless crash location address, since the debugger is not connected to the source code, and Visual Studio is not, AFAIK, capable to link that address to the source code. So the situation is, that I have all the source and symbol files available on the target machine, but the debugger does not load them, I don't know whether I can somehow show them to the debugger outside Visual Studio, and starting the project from Visual Studio 2008 is not possible because it won't load the project source files.
Is there any way I get a meaningful debugging, I mean with all the files in place it should be possible to debug with source display, even if the Visual Studio versions don't match.
Framework version is 4.x (most recent, think is 4.7). The message says that a service hasn't been started or is missing on the W7 machine, unfortunately no hint which of the 1000 possible services is meant. If I load the VS 2008 debugger, I get the fairly useless hint that the crash happened at address $..... (very, very long hex address). If I knew which part of the program caused the exception I could find out with ease. The question isn't targetet to to resolve the exception, but solely how to use the debugger to find out where the exception comes from, under the described circumstances.