<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
- <RestoreOutputPath>$(SourceDir)Common\CoreFX\obj</RestoreOutputPath>
+ <RestoreOutputPath>$(SourceDir)Common\CoreFX\obj-$(TargetRid)</RestoreOutputPath>
<Language>C#</Language>
- <NugetTargetMoniker>.NETCoreApp,Version=v3.0</NugetTargetMoniker>
- <TargetFramework>netcoreapp3.0</TargetFramework>
+ <NugetTargetMoniker>.NETCoreApp,Version=v3.1</NugetTargetMoniker>
+ <TargetFramework>netcoreapp3.1</TargetFramework>
+ <RuntimeFrameworkVersion>$(MicrosoftNETCoreAppVersion)</RuntimeFrameworkVersion>
<ContainsPackageReferences>true</ContainsPackageReferences>
<CLRTestKind>SharedLibrary</CLRTestKind>
<IsTestProject>false</IsTestProject>
<ItemGroup>
+ <!-- Workaround to exclude runtime assets from this package while we fix a bug in CoreFx -->
+ <PackageReference Include="System.IO.FileSystem.AccessControl" Version="$(SystemIOFileSystemAccessControlVersion)" ExcludeAssets="Runtime" />
+
<!-- Microsoft.Private.CoreFx.OOB is a meta-package that contains references to most of what we need -->
<PackageReference Include="Microsoft.Private.CoreFx.OOB" Version="$(MicrosoftPrivateCoreFxNETCoreAppVersion)" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
<PropertyGroup>
- <ProjectAssetsFile>$(SourceDir)Common\CoreFX\obj\project.assets.json</ProjectAssetsFile>
+ <ProjectAssetsFile>$(SourceDir)Common\CoreFX\obj-$(TargetRid)\project.assets.json</ProjectAssetsFile>
</PropertyGroup>
</Project>