-
Notifications
You must be signed in to change notification settings - Fork 750
/
Directory.build.props
48 lines (42 loc) · 2.43 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
<Project>
<PropertyGroup>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<Copyright>Copyright (c) .NET Foundation and Contributors.</Copyright>
<MinClientVersion>2.12</MinClientVersion>
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
<Authors>.NET Foundation and Contributors</Authors>
<UseFullSemVerForNuGet>true</UseFullSemVerForNuGet>
<PackageIconUrl>http://go.microsoft.com/fwlink/?LinkId=261274</PackageIconUrl>
<PackageProjectUrl>http://go.microsoft.com/fwlink/?LinkId=261273</PackageProjectUrl>
<PackageLicenseUrl>https://raw.githubusercontent.com/Reactive-Extensions/Rx.NET/master/Ix.NET/Source/license.txt</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)ReactiveX.snk</AssemblyOriginatorKeyFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<DefaultLanguage>en-US</DefaultLanguage>
<WriteVersionInfoToBuildLog>false</WriteVersionInfoToBuildLog>
<IncludeSymbols>false</IncludeSymbols>
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
<GetVersion Condition=" '$(NCrunch)' != '' ">false</GetVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitVersionTask" Version="4.0.0-beta0011" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(NCrunch)' == '' and '$(SourceLinkEnabled)' != 'false'">
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.1.0" PrivateAssets="All" />
</ItemGroup>
<!-- Workaround -->
<Target Name="GetPackagingOutputs" />
<PropertyGroup>
<GitVersionTaskVersion>4.0.0-beta0011</GitVersionTaskVersion>
</PropertyGroup>
<!-- https://github.com/NuGet/Home/issues/4337 -->
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' == 'true' ">
<Import Project="$(UserProfile)\.nuget\packages\GitVersionTask\$(GitVersionTaskVersion)\buildMultiTargeting\GitVersionTask.targets"
Condition="Exists('$(UserProfile)\.nuget\packages\GitVersionTask\$(GitVersionTaskVersion)\buildMultiTargeting\GitVersionTask.targets')" />
</ImportGroup>
<Target Name="FixupVersion"
BeforeTargets="_GenerateRestoreProjectSpec"
DependsOnTargets="GetVersion"
Condition=" '$(GitVersion_Task_targets_Imported)' == 'True' " />
</Project>