-
Notifications
You must be signed in to change notification settings - Fork 2
/
PublicAssembly.props
47 lines (39 loc) · 1.97 KB
/
PublicAssembly.props
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
<Project>
<PropertyGroup>
<Product>K4os.KnownTypes</Product>
<Description>KnownTypes registry supporting polymorphic serialization</Description>
<PackageTags>polymorphic serialization json</PackageTags>
<Authors>Milosz Krajewski</Authors>
<Copyright>Milosz Krajewski</Copyright>
</PropertyGroup>
<PropertyGroup>
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
<RepositoryOwner>MiloszKrajewski</RepositoryOwner>
<RepositoryName>$(Product)</RepositoryName>
</PropertyGroup>
<PropertyGroup>
<PackageId>$(AssemblyName)</PackageId>
<RepositoryUrl>https://github.com/$(RepositoryOwner)/$(RepositoryName)</RepositoryUrl>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageLicenseUrl>$(RepositoryUrl)/blob/master/LICENSE?raw=true</PackageLicenseUrl>
<PackageIconUrl Condition=" Exists('$(RepositoryRoot)/icon.png') ">$(RepositoryUrl)/blob/master/icon.png?raw=true</PackageIconUrl>
</PropertyGroup>
<PropertyGroup Condition=" $(Configuration) == 'Release' ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors Condition=" '$(IsReleasing)' == 'true' ">true</TreatWarningsAsErrors>
<Optimize>true</Optimize>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup Condition=" $(Configuration) == 'Release' ">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
</ItemGroup>
<PropertyGroup Condition=" '$(SignAssembly)' == 'true' ">
<!--
SignAssembly and InternalsVisibleTo are not playing nice together,
you need to make a call which one you want to use.
<AssemblyOriginatorKeyFile>$(RepositoryRoot)/.signing.snk</AssemblyOriginatorKeyFile>
-->
</PropertyGroup>
</Project>