24 lines
1017 B
XML
24 lines
1017 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\MapperSourceGen\MapperSourceGen.csproj"/>
|
|
|
|
<!--
|
|
When referencing a source generator that is part of the solution, ensure that the following properties are set:
|
|
|
|
- OutputItemType="Analyzer" to treat it as an analyzer.
|
|
- SetTargetFramework="TargetFramework=netstandard2.0" to ensure compatibility with the source generator.
|
|
- ReferenceOutputAssembly="false" to prevent the source generator from being treated as a regular assembly.
|
|
-->
|
|
<ProjectReference Include="..\..\src\MapperSourceGen.SourceGenerator\MapperSourceGen.SourceGenerator.csproj"
|
|
OutputItemType="Analyzer"
|
|
SetTargetFramework="TargetFramework=netstandard2.0"
|
|
ReferenceOutputAssembly="false"/>
|
|
</ItemGroup>
|
|
|
|
</Project>
|