-
Notifications
You must be signed in to change notification settings - Fork 280
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
26 lines (23 loc) · 1.09 KB
/
Directory.Build.targets
File metadata and controls
26 lines (23 loc) · 1.09 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
<Project>
<!--
Provide .NET Framework 4.8 reference assemblies via NuGet so projects
targeting net48 can build on macOS / Linux (and on Windows machines
without the .NET Framework 4.8 Developer Pack installed).
-->
<ItemGroup Condition=" '$(TargetFramework)' == 'net48' ">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net48" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<!--
Honor the MSBuild ReferencePath property as an assembly search path.
Jenkins passes /p:ReferencePath=/home/ksp/KSP_Data/Managed so that
bare <Reference Include="Assembly-CSharp"/> etc. resolve to KSP's
Unity assemblies. SDK-style targets do not automatically append
ReferencePath to AssemblySearchPaths the way the legacy non-SDK
targets did, so we do it explicitly.
-->
<PropertyGroup Condition=" '$(ReferencePath)' != '' ">
<AssemblySearchPaths>$(AssemblySearchPaths);$(ReferencePath)</AssemblySearchPaths>
</PropertyGroup>
</Project>