dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.17k stars 5.83k forks source link

Incorrect info on page #30925

Open Simoyd opened 1 year ago

Simoyd commented 1 year ago

[Enter feedback here]

    <ProjectReference Include="..\PathTo\SourceGenerator.csproj"
                      OutputItemType="Analyzer"
                      ReferenceOutputAssembly="false" />

^^this (on the page) doesn't work

    <ProjectReference Include="..\PathTo\SourceGenerator.csproj" >
      <OutputItemType>Analyzer</OutputItemType>
      <ReferenceOutputAssembly>False</ReferenceOutputAssembly>
    </ProjectReference>

^^ This works. capitol F in false is required.

Be sure to restart visual studio before every test case because the behavior is inconsistent/irratic


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

BillWagner commented 1 year ago

Adding @KathleenDollard