-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
30 lines (26 loc) · 1.84 KB
/
Copy pathDirectory.Build.props
File metadata and controls
30 lines (26 loc) · 1.84 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
<Project>
<PropertyGroup>
<CLRNETRoot>$(MSBuildThisFileDirectory)</CLRNETRoot>
</PropertyGroup>
<PropertyGroup Condition="'$(CLRNET_EnableModernLangVersion)' != 'false'">
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<CLRNET_UseModernRoslyn Condition="'$(CLRNET_UseModernRoslyn)' == ''">true</CLRNET_UseModernRoslyn>
<CLRNET_AddOverlayFacades Condition="'$(CLRNET_AddOverlayFacades)' == ''">false</CLRNET_AddOverlayFacades>
</PropertyGroup>
<ItemGroup Condition="'$(CLRNET_UseModernRoslyn)' == 'true' and '$(UsingMicrosoftNETSdk)' == 'true'">
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.8.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition="'$(CLRNET_AddOverlayFacades)' == 'true'">
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Facade.System.Runtime/CLRNet.Facade.System.Runtime.csproj" />
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Facade.System.ValueTuple/CLRNet.Facade.System.ValueTuple.csproj" />
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Facade.System.Threading.Tasks.Extensions/CLRNet.Facade.System.Threading.Tasks.Extensions.csproj" />
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Facade.System.Text.Json/CLRNet.Facade.System.Text.Json.csproj" />
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Facade.System.Buffers/CLRNet.Facade.System.Buffers.csproj" />
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Facade.System.Net.Http/CLRNet.Facade.System.Net.Http.csproj" />
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Facade.System.IO/CLRNet.Facade.System.IO.csproj" />
<ProjectReference Include="$(CLRNETRoot)src/overlays/CLRNet.Core.OverlaySupport/CLRNet.Core.OverlaySupport.csproj" />
</ItemGroup>
</Project>