-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I am not sure if this is the right place to post this, but it was the closes match I could find.
I am working on an application that centered around loading .NET based plugins. We want to move to supporting .NET Standard primarily because we want cross platform support. Our primary application is a .NET 4.6.2 WPF application for Windows, but we also support using it with .NET Core from the command line. Hence we want to support developing plugins in .NET Standard, to help ensure that the code will run anywhere.
When using .NET Framework with VS this has always given our customers a more or less flawless developing experience, but we are currently unable to introduce .NET Standard support due to an issue with debugging.
This issue relates to debugging a NET Standard 2.0 library that is used in a .NET framework 4.6.2 application. We want to be able to debug them from visual studio by pointing to the application in launchSettings.json and launching the application with the debugger. However, when I do this the application is launched, and it attaches a debugger but it is unable to load any symbols used in the application, including those of the .NET Standard libraries.
I can manually attach to the process in VS and debug, but the F5 debug command using launchSettings.json does not work. This provides an extra step that our customers need to take and hence hurts the development experience.
I have concluded that it selects the wrong debugger (.NET Core debugger instead of a .NET Framework debugger) for the job, but this is really just a guess.