-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
42 lines (38 loc) · 1.64 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
<!-- Imported before all csproj items. Here better to define variables or default properties. -->
<Project>
<PropertyGroup>
<IsTest>false</IsTest>
<IsNuPackage>false</IsNuPackage>
</PropertyGroup>
<PropertyGroup Condition="($(MSBuildProjectName.StartsWith('IRO.Tests')) Or $(MSBuildProjectName.StartsWith('IRO.UnitTests')))">
<IsTest>true</IsTest>
</PropertyGroup>
<PropertyGroup Condition="!$(IsTest)">
<IsNuPackage>true</IsNuPackage>
</PropertyGroup>
<!-- Use default settings: comments generation, build packege, etc. -->
<PropertyGroup Condition="$(IsNuPackage)">
<!-- This two enabled by default in build script. You can configure it for VS. -->
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<PackageProjectUrl>https://github.com/IT-rolling-out/IRO.XWebView</PackageProjectUrl>
</PropertyGroup>
<!-- Category versions list. Use it in target projects and to set nuget dependencies. -->
<PropertyGroup>
<!-- Use current same version for all or define special for category-->
<VersionPostfix></VersionPostfix>
</PropertyGroup>
<PropertyGroup>
<PackageVersion>$(AsmVersion_XWebView)</PackageVersion>
</PropertyGroup>
<PropertyGroup>
<DesignTimeBuild Condition="'$(DesignTimeBuild)' == ''">false</DesignTimeBuild>
</PropertyGroup>
<PropertyGroup>
<PackageOutputPath>$(MSBuildThisFileDirectory)output\nuget</PackageOutputPath>
</PropertyGroup>
<PropertyGroup>
<Authors>Me</Authors>
</PropertyGroup>
</Project>