forked from ss14Starlight/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
42 lines (38 loc) · 2.16 KB
/
Copy pathDirectory.Build.targets
File metadata and controls
42 lines (38 loc) · 2.16 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
<Project>
<!--
Serilog.Sinks.Http 7.2.0 (pulled transitively via Serilog.Sinks.Loki in Robust.Server)
hard-pins Microsoft.Extensions.Configuration to 3.1.9. Orleans 10.0.1 (Content.Server)
requires 10.0.0 — ConfigurationSection.TryGetValue was added there.
RobustToolbox has no Directory.Build.targets, so MSBuild traverses up and finds this file
for all Robust.* projects too. Adding explicit references here pins the minimum version to
10.0.0 in Robust.Server's dependency graph without touching the submodule.
-->
<ItemGroup Condition="'$(MSBuildProjectName)' == 'Robust.Server'">
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="10.0.0"/>
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="10.0.0"/>
<PackageReference Include="Microsoft.Extensions.Configuration"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions"/>
</ItemGroup>
<PropertyGroup Condition="'$(IsTestProject)' == 'true'
and '$(EnableNUnitRunner)' == 'false'">
<!-- RobustToolbox has its own Directory.Build.props, so its NUnit adapter
initially evaluates with MTP disabled. This makes it not do that. -->
<_EnableNUnitRunnerLate>true</_EnableNUnitRunnerLate>
<_LateNUnitAdapterVersion>5.2.0</_LateNUnitAdapterVersion>
<EnableNUnitRunner>true</EnableNUnitRunner>
<IsTestingPlatformApplication>true</IsTestingPlatformApplication>
<GenerateProgramFile>false</GenerateProgramFile>
<OutputType>Exe</OutputType>
</PropertyGroup>
<PropertyGroup Condition="'$(Reviewdog)' == 'true'">
<!-- Emit compiler and analyzer diagnostics for diff-aware CI reporting. -->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ErrorLog>$(BaseIntermediateOutputPath)reviewdog.sarif,version=2.1</ErrorLog>
</PropertyGroup>
<ItemGroup Condition="'$(_EnableNUnitRunnerLate)' == 'true'">
<Reference Include="NUnit3.TestAdapter">
<HintPath>$(NuGetPackageRoot)nunit3testadapter/$(_LateNUnitAdapterVersion)/build/netcoreapp3.1/NUnit3.TestAdapter.dll</HintPath>
<Private>true</Private>
</Reference>
</ItemGroup>
</Project>