How can I debug a project from another solution in Visual Studio?

I created a .NET solution 1, which consists of project A and project B. My solution also applies only to a DLL (project C), which is not included in my solution 1, but in solution 2.

Sln 1 with projects A and B with reference to the project DLL C Sln 2 with project C

I would like to debug my C project from my solution 1. How can I do this without including the source code of my C project in my solution 1?

In fact, my C project is the backbone of my company and was developed by another team. I can get the source but not edit

+7
source share
1 answer

If you have disabled Just My Code (in the menu "Tools" β†’ "Options β†’" Debugging "," Only my code is enabled "), you can go to other libraries outside your solution, and VS will offer you to download sources for it. You You can also open the source for C, set a breakpoint, and if the sources match the characters, it should be able to stop at that breakpoint.

+7
source

All Articles