1
0
This repository has been archived on 2025-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
MapperSourceGenSample/sample/MapperSourceGen.Sample/MapperSourceGen.Sample.csproj
2025-07-21 13:48:02 -04:00

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>