chore: initial commit
Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
23
sample/MapperSourceGen.Sample/MapperSourceGen.Sample.csproj
Normal file
23
sample/MapperSourceGen.Sample/MapperSourceGen.Sample.csproj
Normal file
@@ -0,0 +1,23 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user