| 1 |
<Project Sdk="Microsoft.NET.Sdk"> |
| 2 |
<PropertyGroup> |
| 3 |
<TargetFramework>netstandard2.0</TargetFramework> |
| 4 |
<LangVersion>10</LangVersion> |
| 5 |
<Nullable>enable</Nullable> |
| 6 |
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> |
| 7 |
</PropertyGroup> |
| 8 |
<PropertyGroup> |
| 9 |
<Description>Core C# source generator for Godot projects.</Description> |
| 10 |
<Authors>Godot Engine contributors</Authors> |
| 11 |
|
| 12 |
<PackageId>Godot.SourceGenerators</PackageId> |
| 13 |
<Version>4.6.3</Version> |
| 14 |
<PackageVersion>$(PackageVersion_Godot_SourceGenerators)</PackageVersion> |
| 15 |
<RepositoryUrl>https://github.com/godotengine/godot/tree/master/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators</RepositoryUrl> |
| 16 |
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl> |
| 17 |
<PackageLicenseExpression>MIT</PackageLicenseExpression> |
| 18 |
<Copyright>Copyright (c) Godot Engine contributors</Copyright> |
| 19 |
|
| 20 |
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
| 21 |
<!-- Do not include the generator as a lib dependency --> |
| 22 |
<IncludeBuildOutput>false</IncludeBuildOutput> |
| 23 |
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> |
| 24 |
</PropertyGroup> |
| 25 |
<!-- Analyzer release tracking --> |
| 26 |
<ItemGroup> |
| 27 |
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" /> |
| 28 |
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" /> |
| 29 |
</ItemGroup> |
| 30 |
<ItemGroup> |
| 31 |
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.11.0" PrivateAssets="all" /> |
| 32 |
</ItemGroup> |
| 33 |
<ItemGroup> |
| 34 |
<!-- Package the generator in the analyzer directory of the nuget package --> |
| 35 |
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> |
| 36 |
|
| 37 |
<!-- Package the props file --> |
| 38 |
<None Include="Godot.SourceGenerators.props" Pack="true" PackagePath="build" Visible="true" /> |
| 39 |
</ItemGroup> |
| 40 |
</Project> |