Adding Regex source generator to Microsoft.netcore.app.ref pack (#61329)
authorJose Perez Rodriguez <joperezr@microsoft.com>
Tue, 9 Nov 2021 04:26:40 +0000 (20:26 -0800)
committerGitHub <noreply@github.com>
Tue, 9 Nov 2021 04:26:40 +0000 (23:26 -0500)
src/libraries/System.Text.RegularExpressions/src/System.Text.RegularExpressions.csproj

index 17f1d0f..da0f0ed 100644 (file)
     <Reference Include="System.Reflection.Emit.ILGeneration" />
     <Reference Include="System.Reflection.Emit.Lightweight" />
     <Reference Include="System.Reflection.Primitives" />
+
+    <!-- Adding the source generator as an analyzer reference -->
+    <AnalyzerReference Include="..\gen\System.Text.RegularExpressions.Generator.csproj" />
   </ItemGroup>
 </Project>