-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShared.props
More file actions
63 lines (58 loc) · 3.63 KB
/
Shared.props
File metadata and controls
63 lines (58 loc) · 3.63 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
<Project>
<!--<BasicDefinitions>: It is useful to knwow whether we are in the Tests/ folder and/or if the current project is a Test.-->
<PropertyGroup>
<IsTestProject Condition="$(MSBuildProjectName.EndsWith('.Tests'))">true</IsTestProject>
<IsInTestsFolder Condition="$(MSBuildProjectDirectoryNoRoot.Contains('\Tests\'))">true</IsInTestsFolder>
<!-- SolutionDir is defined by Visual Studio, we unify the behavior here. -->
<SolutionDir Condition=" $(SolutionDir) != '' ">$([System.IO.Path]::GetDirectoryName($([System.IO.Path]::GetDirectoryName($(MSBuildThisFileDirectory)))))\</SolutionDir>
</PropertyGroup>
<!--</BasicDefinitions>-->
<!--<StandardProperties>-->
<PropertyGroup>
<RepositoryUrl>https://gitlab.com/Signature-Code/CK-Database.git</RepositoryUrl>
<ProductName>CK</ProductName>
<Company>Signature Code</Company>
<Authors>Signature Code</Authors>
<Copyright>Copyright Signature-Code 2007-$([System.DateTime]::UtcNow.ToString("yyyy"))</Copyright>
<RepositoryType>git</RepositoryType>
<!--Removes annoying Pack warning: The package version ... uses SemVer 2.0.0 or components of SemVer 1.0.0 that are not supported on legacy clients...-->
<NoWarn>NU5105</NoWarn>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)SharedKey.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
</PropertyGroup>
<!--</StandardProperties>-->
<!--<ReproducibleBuilds>: See http://blog.paranoidcoding.com/2016/04/05/deterministic-builds-in-roslyn.html.-->
<PropertyGroup Condition=" '$(CakeBuild)' == 'true' ">
<Deterministic>true</Deterministic>
<!-- Finds the CK-World.htm that must exist at the root of the development directory. This is path to map to C:\CK-World. -->
<CKWorldPath>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), CK-World.htm))</CKWorldPath>
<PathMap Condition=" '$(CKWorldPath)' != '' ">$(CKWorldPath)=C:\CK-World</PathMap>
</PropertyGroup>
<!--</ReproducibleBuilds>-->
<!--<ZeroVersion>: When not building from the CI, assemblies always use the ZeroVersion (see CSemVer.InformationalVersion).-->
<PropertyGroup Condition=" '$(CakeBuild)' != 'true' ">
<Version>0.0.0-0</Version>
<AssemblyVersion>0.0.0</AssemblyVersion>
<FileVersion>0.0.0.0</FileVersion>
<InformationalVersion>0.0.0-0 (0.0.0-0) - SHA1: 0000000000000000000000000000000000000000 - CommitDate: 0001-01-01 00:00:00Z</InformationalVersion>
</PropertyGroup>
<!--</ZeroVersion>-->
<!--<GenerateDocumentation>: Default is in Release or during Cake builds (except for projects below Tests/). Each project can override GenerateDocumentationFile property.-->
<PropertyGroup Condition=" '$(IsInTestsFolder)' != 'true' And ('$(CakeBuild)' == 'true' Or '$(Configuration)' == 'Release') ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!--</GenerateDocumentation>-->
<!--<SourceLink>: is enabled only for Cake build. -->
<PropertyGroup>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(CakeBuild)' == 'true' ">
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup Condition=" '$(CakeBuild)' == 'true' ">
<PackageReference Include="Microsoft.SourceLink.GitLab" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
</ItemGroup>
<!--</SourceLink>-->
</Project>