-
Notifications
You must be signed in to change notification settings - Fork 5
/
Kook.Net.targets
58 lines (53 loc) · 2.63 KB
/
Kook.Net.targets
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
55
56
57
58
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>0.9.5</VersionPrefix>
<!-- <VersionSuffix>beta5</VersionSuffix>-->
<IsPackable>false</IsPackable>
<IsTrimmable>false</IsTrimmable>
<IsAotCompatible>false</IsAotCompatible>
<LangVersion>latest</LangVersion>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageVersion>$(Version)</PackageVersion>
<Authors>gehongyan</Authors>
<Company>gehongyan</Company>
<PackageProjectUrl>https://github.com/gehongyan/Kook.Net</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/gehongyan/Kook.Net.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageTags>kook;kookapp</PackageTags>
<PackageReleaseNotes>See https://github.com/gehongyan/Kook.Net/releases</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>Logo_Small.png</PackageIcon>
<TargetFrameworks>net9.0;net8.0;net6.0;net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<NoWarn>$(NoWarn);NU1803</NoWarn>
<WarningLevel>6</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DebugSymbols>true</DebugSymbols>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<PropertyGroup>
<Version Condition=" '$(VersionSuffix)' == '' ">$(VersionPrefix)</Version>
<Version Condition=" '$(VersionSuffix)' != '' ">$(VersionPrefix)-$(VersionSuffix)</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net4')) AND '$(MSBuildRuntimeType)' == 'Core' AND '$(OS)' != 'Windows_NT'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
<None Include="../../LICENSE" Pack="true" PackagePath="\"/>
<None Include="../../THIRD-PARTY-NOTICES.txt" Pack="true" PackagePath="\"/>
<None Include="../../docs/logo/Logo_Small.png" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>