Godot.SourceGenerators.Sample.csproj 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>netstandard2.1</TargetFramework>
  4. </PropertyGroup>
  5. <PropertyGroup>
  6. <!-- $(GodotProjectDir) would normally be defined by the Godot.NET.Sdk -->
  7. <GodotProjectDir>$(MSBuildProjectDirectory)</GodotProjectDir>
  8. </PropertyGroup>
  9. <PropertyGroup>
  10. <!-- The emitted files are not part of the compilation nor design.
  11. They're only for peeking at the generated sources. Sometimes the
  12. emitted files get corrupted, but that won't break anything. -->
  13. <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
  14. <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GeneratedFiles</CompilerGeneratedFilesOutputPath>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <ProjectReference Include="..\..\..\glue\GodotSharp\GodotSharp\GodotSharp.csproj">
  18. <Private>False</Private>
  19. </ProjectReference>
  20. <ProjectReference Include="..\Godot.SourceGenerators\Godot.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  21. </ItemGroup>
  22. <!-- This file is imported automatically when using PackageReference to
  23. reference Godot.SourceGenerators, but not when using ProjectReference -->
  24. <Import Project="..\Godot.SourceGenerators\Godot.SourceGenerators.props" />
  25. </Project>