-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathShared.build.props
More file actions
70 lines (60 loc) · 2.86 KB
/
Shared.build.props
File metadata and controls
70 lines (60 loc) · 2.86 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
<Project>
<Import Project="$(MSBuildThisFileDirectory)Build\Customizations\Properties.props" />
<Import Project="$(MSBuildThisFileDirectory)Build\Customizations\Version.props" Condition="'$(Version)' == ''" />
<PropertyGroup>
<Product>$(ProductName)</Product>
<Company>$(CompanyName)</Company>
<Copyright>$(Copyright)</Copyright>
<Authors>$(Company)</Authors>
<PackageLicenseExpression>LGPL-2.1-or-later</PackageLicenseExpression>
<PackageProjectUrl>http://www.re-motion.org</PackageProjectUrl>
<RepositoryUrl>https://github.com/re-motion/IO/</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<PropertyGroup>
<LangVersion>7.2</LangVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)remotion.snk</AssemblyOriginatorKeyFile>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<AllowedOutputExtensionsInPackageBuildOutputFolder Condition="'$(IncludeSymbols)' != 'True'">$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<DebugType>Portable</DebugType>
<DebugType Condition="'$(TargetFramework)' == 'net462'">Full</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(ProjectType)' == 'Library'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>1591;0419</NoWarn>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<IsPackable>True</IsPackable>
<TargetFrameworks>net8.0;net462</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(ProjectType)' == 'Test'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn></NoWarn>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
<IsPackable>False</IsPackable>
<TargetFrameworks>net8.0;net462</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)LGPL.licenseheader" Link="LGPL.licenseheader" />
<None Include="$(MSBuildThisFileDirectory)remotion.snk" Link="remotion.snk" />
<Content Include="$(MSBuildProjectDirectory)\FacetManifest.xml" Condition="'$(IsPackable)' == 'True'">
<Pack>true</Pack>
<PackagePath>.</PackagePath>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(ProjectType)' == 'Library'">
</ItemGroup>
<ItemGroup Condition="'$(ProjectType)' == 'Test'">
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
<PackageReference Include="Moq"/>
<PackageReference Include="NUNit"/>
<PackageReference Include="NUnit3TestAdapter"/>
</ItemGroup>
<PropertyGroup>
<_version>$(Version.Split('-')[0])</_version>
<AssemblyVersion>$(_version).0</AssemblyVersion>
<FileVersion>$(_version).24009</FileVersion>
<InformationalVersion>$(_version)-x.9+$(Configuration)</InformationalVersion>
<PackageVersion>$(_version)-x.9</PackageVersion>
</PropertyGroup>
</Project>