project-system
project-system copied to clipboard
CPS tracing is hooked up too late
We hook up to CPS tracing here: https://github.com/dotnet/project-system/blob/master/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/Packaging/ManagedProjectSystemPackage.cs#L69, but our package isn't loaded by the time rules are loaded meaning that we miss a bunch of logging around rules. This cost me 2 hours debugging this: https://github.com/dotnet/project-system/pull/3810.
Any ideas on how to fix?