Created
December 9, 2020 16:12
-
-
Save wk-j/420ee926aa5ce4c16a1ea1588a8d9a09 to your computer and use it in GitHub Desktop.
.NET - Show source generator output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net5.0</TargetFramework> | |
+ <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> | |
+ <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)Generated</CompilerGeneratedFilesOutputPath> | |
</PropertyGroup> | |
<ItemGroup> | |
<ProjectReference Include="..\MyGenerator\MyGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment