-
Notifications
You must be signed in to change notification settings - Fork 3
/
Directory.Build.props
71 lines (57 loc) · 2.65 KB
/
Directory.Build.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<Project>
<PropertyGroup>
<RepositoryRootDir>$(MSBuildThisFileDirectory)</RepositoryRootDir>
<RepositoryUrl>https://github.com/aranasoft/cobweb.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<ItemGroup>
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
</ItemGroup>
<PropertyGroup>
<IsTestProject>false</IsTestProject>
<IsTestProject Condition="$(MSBuildProjectName.EndsWith('Tests'))">true</IsTestProject>
</PropertyGroup>
<PropertyGroup>
<Authors>Arana Software</Authors>
<Company>Arana Software</Company>
<Product>Aranasoft Cobweb</Product>
<PackageTags>cobweb;arana</PackageTags>
<Copyright>© Arana Software. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/aranasoft/cobweb/</PackageProjectUrl>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<PackageLicenseFullPath>$(MSBuildThisFileDirectory)LICENSE-BSD</PackageLicenseFullPath>
<PackageProjectUrl>https://github.com/aranasoft/cobweb/</PackageProjectUrl>
<PackageIcon>package-icon.png</PackageIcon>
<PackageIconFullPath>$(MSBuildThisFileDirectory)package-icon.png</PackageIconFullPath>
</PropertyGroup>
<ItemGroup>
<None Include="$(PackageIconFullPath)" Pack="true" PackagePath="\"/>
<None Include="$(PackageLicenseFullPath)" Pack="true" PackagePath="\"/>
</ItemGroup>
<PropertyGroup>
<PackageOutputFullPath>$(MSBuildThisFileDirectory)artifacts</PackageOutputFullPath>
<PackageOutputPath>$(PackageOutputFullPath)</PackageOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsTestProject)' == 'true' ">
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup Condition=" '$(IsTestProject)' == 'false' ">
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName).Test</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<PropertyGroup Condition=" '$(IsTestProject)' == 'false' ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup>
<_BuildNumber>$(BuildNumber)</_BuildNumber>
<_BuildNumber Condition="'$(BuildNumber)' == ''">$([System.DateTime]::Now.ToString(yyMM.ddHH))</_BuildNumber>
<_PatchNumber>$(_BuildNumber)</_PatchNumber>
</PropertyGroup>
</Project>