Files
2023-12-07 12:18:52 +00:00

46 lines
2.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<IsRoslynComponent>true</IsRoslynComponent>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<AssemblyName>SpacetimeDB.Codegen</AssemblyName>
<AssemblyVersion>0.8.1</AssemblyVersion>
</PropertyGroup>
<PropertyGroup>
<Version>$(AssemblyVersion)</Version>
<Title>SpacetimeDB Module Codegen</Title>
<Authors>RReverser</Authors>
<Company>Clockwork Labs</Company>
<Product>SpacetimeDB</Product>
<Description>The SpacetimeDB Codegen implements the Roslyn incremental generators for writing SpacetimeDB modules in C#.</Description>
<Copyright>2023</Copyright>
<PackageProjectUrl>https://spacetimedb.com/</PackageProjectUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/clockworklabs/SpacetimeDBLibCSharp</RepositoryUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.5.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<None Include="../logo.png" Pack="true" PackagePath="" />
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="../LICENSE" Pack="true" PackagePath="" />
<!-- apparently analyzers need to be in specific folder and need custom PowerShell script to be distributed -->
<!-- see https://roslyn-analyzers.readthedocs.io/en/latest/create-nuget-package.html and other docs -->
<None Include="$(OutputPath)/$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<!-- they also need some custom PowerShell scripts copied from template or docs (whyyyy) -->
<!-- see https://learn.microsoft.com/en-us/nuget/guides/analyzers-conventions#install-and-uninstall-scripts -->
<None Update="tools/*.ps1" CopyToOutputDirectory="Always" Pack="true" PackagePath="tools" />
</ItemGroup>
</Project>