ByronMayne / SourceGenerator.Foundations

A Source Generator for Source Generators. Gives out of the box support for transistent dependencies and logging right in Visual Studio
MIT License
26 stars 0 forks source link

Generator Output: Output goes to wrong Visual Studio instance #4

Closed ByronMayne closed 4 months ago

ByronMayne commented 1 year ago

I have two visual studio projects. One with the source for Source.Generator.Foundations and one with Jawon. When building Jawon the output that should go to the window on right goes to the one on the left.

I am already getting the DTE instance that owns the process so I am unsure why the first process is getting input.

image

ByronMayne commented 1 year ago

Code for finding DTE instance is src\Plugins\SourceGenerator.Foundations.Windows\Interop\VisualStudio\VisualStudioInterop.cs in GetDTE function.