-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCodeGeneration.csproj
54 lines (49 loc) · 2.2 KB
/
CodeGeneration.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Project Sdk="Microsoft.NET.Sdk">
<!-- Build config -->
<PropertyGroup>
<AssemblyName>NanoByte.CodeGeneration</AssemblyName>
<RootNamespace>NanoByte.CodeGeneration</RootNamespace>
<LangVersion>13.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
<Nullable>annotations</Nullable>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<OutputPath>..\..\artifacts\$(Configuration)\</OutputPath>
<OutputType>Library</OutputType>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\sgKey.snk</AssemblyOriginatorKeyFile>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework)=='netstandard2.1'">
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- NuGet package metadata -->
<PropertyGroup>
<Description>Thin wrapper around Roslyn API to simplify generating C# code.</Description>
<Authors>Bastian Eicher</Authors>
<Copyright>Copyright Bastian Eicher</Copyright>
<PackageProjectUrl>https://code-generation.nano-byte.net/</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>C#;Code Generation;CodeGen;Roslyn</PackageTags>
<RepositoryUrl>https://github.com/nano-byte/code-generation</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- Dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.13.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<!-- Global usings -->
<ItemGroup>
<Using Include="Microsoft.CodeAnalysis" />
<Using Include="Microsoft.CodeAnalysis.CSharp" />
<Using Include="Microsoft.CodeAnalysis.CSharp.Syntax" />
</ItemGroup>
</Project>