This repository has been archived by the owner on Jul 5, 2021. It is now read-only.
forked from SignalR/SignalR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
72 lines (59 loc) · 3.78 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
72
<Project>
<Import
Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), AspNetCoreSettings.props))\AspNetCoreSettings.props"
Condition=" '$(CI)' != 'true' AND '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), AspNetCoreSettings.props))' != '' " />
<Import Project="version.props" />
<Import Project="build\dependencies.props" />
<Import Project="build\sources.props" />
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)build\Microsoft.AspNet.SignalR.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<RepositoryUrl>https://github.com/SignalR/SignalR</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)build\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<!-- The key doesn't have the private part with it, so we DelaySign when building for CI -->
<DelaySign Condition="'$(CI)' == 'true' And '$(DelaySign)' == ''">true</DelaySign>
<SignAssembly Condition="'$(CI)' == 'true' And '$(SignAssembly)' == ''">true</SignAssembly>
<!-- Uncomment the below lines when running JS functional tests against Azure SignalR -->
<!-- <DelaySign>true</DelaySign>
<SignAssembly>true</SignAssembly> -->
<DefineConstants Condition="'$(SignAssembly)' == 'true' And '$(DefineConstants)' != ''">$(DefineConstants);SIGNED</DefineConstants>
<DefineConstants Condition="'$(SignAssembly)' == 'true' And '$(DefineConstants)' == ''">SIGNED</DefineConstants>
<AssemblySigningCertName>Microsoft</AssemblySigningCertName>
<PackageSigningCertName>MicrosoftNuGet</PackageSigningCertName>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<LangVersion>latest</LangVersion>
<DefaultTestFrameworks>net461</DefaultTestFrameworks>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
<!-- Disable warning about SemVer 2.0 versions -->
<NoWarn>NU5105</NoWarn>
<!-- These values don't change between official and unofficial builds -->
<Product>Microsoft ASP.NET SignalR</Product>
<PackageProjectUrl>https://www.asp.net/signalr</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/SignalR/SignalR/releases</PackageReleaseNotes>
<Authors>Microsoft</Authors>
</PropertyGroup>
<PropertyGroup Condition="'$(OfficialBuild)' == 'true'">
<!-- Assembly/NuSpec attributes -->
<Company>Microsoft</Company>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageLicenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</PackageLicenseUrl>
</PropertyGroup>
<PropertyGroup Condition="'$(OfficialBuild)' != 'true'">
<!-- Assembly/NuSpec attributes -->
<Company>.NET Foundation</Company>
<Copyright>© Copyright (c) .NET Foundation. All rights reserved.</Copyright>
<PackageLicenseUrl>https://raw.github.com/SignalR/SignalR/master/LICENSE.txt</PackageLicenseUrl>
</PropertyGroup>
<!-- Locating Visual Studio -->
<PropertyGroup Condition="'$(VsInstallRoot)' == ''">
<_Vs2017InstallDir>$(MSBuildProgramFiles32)\Microsoft Visual Studio\2017\Enterprise\</_Vs2017InstallDir>
<VsInstallRoot Condition="'$(VsInstallRoot)' == '' And '$(VSINSTALLDIR)' != '' And Exists('$(VSINSTALLDIR)')">$(VSINSTALLDIR)</VsInstallRoot>
<VsInstallRoot Condition="'$(VsInstallRoot)' == '' And Exists('$(_VstsVsInstallDir)')">$(_Vs2017InstallDir)</VsInstallRoot>
<!-- Use ProgramFiles32 instead of MSBuildExtensionsPath so we can be built with dotnet.exe -->
<WAPToolsPath Condition="'$(WAPToolsPath)' == ''">$(VsInstallRoot)\MSBuild\Microsoft\VisualStudio\v$(VisualStudioVersion)</WAPToolsPath>
</PropertyGroup>
<Import Project="build\arcade.props" />
</Project>