microsoft / VSProjectSystem

Documentation for extending Visual Studio with new types of projects.
Other
313 stars 87 forks source link

Custom Debugger of CpsExtension sample doesn't show up #357

Open Michron opened 2 years ago

Michron commented 2 years ago

In step 4 of the CpsExtension it mentions the following:

Once the nuget package was added to the project, you should notice a new debugger named Custom Debugger on the main tool bar on the start button.

After fixing the attributes in CustomDebugger by applying the fix from #356 the CustomDebugger class gets constructed, but none of its methods are ever invoked. It also doesn't show up on the start button of the main tool bar.

Tested in VS2019 and VS2022 (using Microsoft.VSSDK.BuildTools version 17.2.2186 instead of 15.8.3247 for VS2022).

Xyotic commented 2 years ago

Im stuck at the exact same problem...

svenbieg commented 10 months ago

I've copied Nuget.props and DesignTime.targets with Rules to the project-directory and changed the references in the project-file. The Debugger and the properties show up, also the DLL get's loaded, but the DebuggerLauncher isn't invoked. In the WindowsScript-example this is working.