+++ /dev/null
-<Project>
- <PropertyGroup>
- <!--
- The Microsoft.NET.Sdk defaults the AssemblySearchPaths earlier, so default
- the correct search paths here. We are rather restrictive by design - only ref assemblies should
- be resolved by default.
- -->
- <AssemblySearchPaths>$(AssemblySearchPaths);$(RefPath);{RawFileName}</AssemblySearchPaths>
- </PropertyGroup>
-</Project>
\ No newline at end of file
<AdditionalBuildTargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true' and '$(BuildAllProjects)' == 'true'">$(AdditionalBuildTargetFrameworks);netstandard2.0</AdditionalBuildTargetFrameworks>
</PropertyGroup>
- <Import Project="$(RepositoryEngineeringDir)references.props" />
-
<!-- Import it at the end of the props file to override the OutputPath for reference assemblies and use common directory props -->
<Import Project="$(RepositoryEngineeringDir)referenceAssemblies.props" Condition="'$(IsReferenceAssembly)' == 'true'" />
<!-- Workaround for https://github.com/microsoft/msbuild/issues/4474 -->
<GenerateResourceUsePreserializedResources>false</GenerateResourceUsePreserializedResources>
- <!-- Set the documentation output file globally. -->
- <DocumentationFile Condition="'$(IsSourceProject)' == 'true' and '$(DocumentationFile)' == ''">$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile>
-
<!-- Clear the init locals flag on all src projects, except those in VB, where we can't use spans. -->
<ILLinkClearInitLocals Condition="'$(IsSourceProject)' == 'true' and '$(Language)' != 'VB'">true</ILLinkClearInitLocals>
</PropertyGroup>
<Project InitialTargets="AddSkipGetTargetFrameworkToProjectReferences">
<PropertyGroup>
+ <RefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', '$(TargetFramework)'))</RefPath>
+ </PropertyGroup>
+
+ <PropertyGroup>
<CoreCLRTargetOS Condition="'$(CoreCLRTargetOS)' == ''">$(TargetOS)</CoreCLRTargetOS>
<CoreCLRConfiguration Condition="'$(CoreCLRConfiguration)' == ''">$(Configuration)</CoreCLRConfiguration>
<MonoTargetOS Condition="'$(MonoTargetOS)' == ''">$(TargetOS)</MonoTargetOS>
<FileAlignment Condition="'$(FileAlignment)' == '512'" />
<ErrorReport Condition="'$(ErrorReport)' == 'prompt'" />
<WarningsAsErrors Condition="'$(WarningsAsErrors)' == 'NU1605'" />
+ <!-- Set the documentation output file globally. -->
+ <DocumentationFile Condition="'$(IsSourceProject)' == 'true' and '$(DocumentationFile)' == '' and '$(MSBuildProjectExtension)' != '.vbproj'">$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<NoStdLib>true</NoStdLib>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<RootNamespace />
- <!-- Disable this as it seems to break windows builds for now. -->
- <DocumentationFile />
<!-- No plans to fix the analyzer issues. -->
<EnableAnalyzers>false</EnableAnalyzers>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppCurrent)-Windows_NT</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFrameworks>netstandard2.0;netstandard1.1</TargetFrameworks>
<ExcludeFromPackage Condition="'$(TargetFramework)' == 'netstandard2.0'">true</ExcludeFromPackage>
- <DocumentationFile>$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile>
<RootNamespace>System.Numerics.Tensors</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <DocumentationFile>$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile>
<TargetFrameworks>$(NetCoreAppCurrent);netstandard2.0;netcoreapp3.0;net461;$(NetFrameworkCurrent)</TargetFrameworks>
<ExcludeCurrentNetCoreAppFromPackage>true</ExcludeCurrentNetCoreAppFromPackage>
<ExcludeCurrentFullFrameworkFromPackage>true</ExcludeCurrentFullFrameworkFromPackage>
<IsRuntimeAssembly>true</IsRuntimeAssembly>
<BaseIntermediateOutputPath>$([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', '$(OutDirName)'))</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(TargetFramework)-$(Configuration)</IntermediateOutputPath>
- <!-- Use runtime assemblies for the TargetFramework, using TargetOS -->
- <RefPath>$(ArtifactsBinDir)runtime/$(BuildTargetFramework)-$(TargetOS)-$(Configuration)-$(TargetArchitecture)/</RefPath>
<CoreCLRTargetOS>$(TargetOS)</CoreCLRTargetOS>
<MonoTargetOS>$(TargetOS)</MonoTargetOS>
<TargetFrameworks>$(NetCoreAppCurrent)</TargetFrameworks>
<ItemGroup>
<ReferencePath
- Include="$(RefPath)System.*.dll;$(RefPath)Microsoft.Win32.*.dll;$(RefPath)netstandard.dll"
- Exclude="$(RefPath)$(MSBuildProjectName).dll" />
+ Include="$(RuntimePath)System.*.dll;$(RuntimePath)Microsoft.Win32.*.dll;$(RuntimePath)netstandard.dll"
+ Exclude="$(RuntimePath)$(MSBuildProjectName).dll" />
</ItemGroup>
<Target Name="AddSystemPrivateCoreLibReferencePath" DependsOnTargets="GetFilesFromRuntime" BeforeTargets="ResolveReferences">
</ItemGroup>
<ItemGroup>
<!-- System.Data.SqlClient is not live built anymore, make sure to use reference assembly for it -->
- <ReferencePath Remove="$(RefPath)\System.Data.SqlClient.dll" />
+ <ReferencePath Remove="$(RuntimePath)\System.Data.SqlClient.dll" />
<ReferencePath Include="$(ArtifactsBinDir)ref\$(NetCoreAppCurrent)\System.Data.SqlClient.dll" />
</ItemGroup>
</Project>
</PropertyGroup>
<PropertyGroup>
- <!-- interop is not available on NETStandard1.0 -->
- <IncludeDllSafeSearchPathAttribute Condition="'$(TargetFramework)' == 'netstandard1.0'">false</IncludeDllSafeSearchPathAttribute>
- </PropertyGroup>
-
- <PropertyGroup>
- <RefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', '$(TargetFramework)'))</RefPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(TargetFramework)-$(TargetFrameworkSuffix)-$(Configuration)\</IntermediateOutputPath>
<IntermediateOutputPath Condition="'$(TargetFrameworkSuffix)' == ''">$(BaseIntermediateOutputPath)$(TargetFramework)-$(Configuration)\</IntermediateOutputPath>
<!-- setting the output paths -->