❔ VS doesnt like my Source Generator, idk why

I have a source generator which works, it creates a empty partial class but VS complains about it
idk what this stop symbol means or what it does

the generator works and dotnet build works without warnings or errors

in the project i reference the project like that but this doesnt seem right either
  <ItemGroup>
    <ProjectReference Include="..\BfnXmlReaderLibrary\BfnXmlReaderLibrary.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
    <ProjectReference Include="..\BfnXmlReaderLibrary\BfnXmlReaderLibrary.csproj"/>
  </ItemGroup>

important here is that the xml reader library has the source generator AND normal classes so its not a pure source generator library
image.png
Was this page helpful?