2021-10-04 21:24:14 +03:00
<?xml version="1.0" encoding="utf-8"?>
2019-02-22 00:08:12 +03:00
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
2017-11-18 02:19:36 +03:00
2019-02-22 00:08:12 +03:00
<PropertyGroup Condition="'$(CopyrightNetFoundation)' != ''">
<Copyright>$(CopyrightNetFoundation)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
2021-01-20 03:02:03 +03:00
2017-07-01 00:30:03 +03:00
<PropertyGroup>
2019-02-22 00:08:12 +03:00
<Product>Microsoft® Build Tools®</Product>
2018-10-05 16:56:27 +03:00
<Configurations>Debug;Release;Debug-MONO;Release-MONO;MachineIndependent</Configurations>
2017-11-18 02:19:36 +03:00
</PropertyGroup>
2018-01-29 19:11:15 +03:00
2018-08-09 01:03:10 +03:00
<PropertyGroup>
<FullFrameworkTFM>net472</FullFrameworkTFM>
2023-01-30 17:14:19 +03:00
<!--
2022-09-19 21:22:56 +03:00
When updating the version of .NET Core for MSBuild, this property is the 'source of truth'.
Other locations to update the version number:
global.json
eng/cibuild_bootstrapped_msbuild.ps1
eng/cibuild_bootstrapped_msbuild.sh
scripts/Deploy-MSBuild.ps1
src/Framework/README.md
src/Utilities/README.md
-->
<LatestDotNetCoreForMSBuild>net7.0</LatestDotNetCoreForMSBuild>
2018-08-09 01:03:10 +03:00
</PropertyGroup>
2017-11-18 02:19:36 +03:00
<PropertyGroup>
2018-12-04 04:09:39 +03:00
<DOTNET_INSTALL_DIR Condition="'$(DOTNET_INSTALL_DIR)' == ''">$(RepoRoot).dotnet\</DOTNET_INSTALL_DIR>
2017-11-21 04:01:58 +03:00
2017-11-18 02:19:36 +03:00
<!-- Repository and project URLs (used in nuget packages) -->
2021-04-13 20:55:11 +03:00
<RepositoryUrl>https://github.com/dotnet/msbuild</RepositoryUrl>
2018-02-14 20:40:17 +03:00
<PackageProjectUrl>http://go.microsoft.com/fwlink/?LinkId=624683</PackageProjectUrl>
2019-10-10 00:59:56 +03:00
<PackageIcon>MSBuild-NuGet-Icon.png</PackageIcon>
2018-02-14 20:40:17 +03:00
<PackageTags>MSBuild</PackageTags>
2017-11-29 04:28:25 +03:00
2018-09-20 18:35:42 +03:00
<TargetMSBuildToolsVersion>Current</TargetMSBuildToolsVersion>
2017-11-18 02:19:36 +03:00
</PropertyGroup>
2018-02-07 16:22:15 +03:00
2017-11-18 02:19:36 +03:00
<PropertyGroup>
2018-01-11 23:05:55 +03:00
<GenerateNeutralResourcesLanguageAttribute>false</GenerateNeutralResourcesLanguageAttribute>
2017-11-10 23:05:42 +03:00
2023-01-30 17:14:19 +03:00
<!--
NU1507: ManagePackageVersionsCentrally implies source mapping, which we should consider turning on but it's nontrivial
NU1603: Microsoft.xunit.netcore.extensions package has dependencies to versions which aren't published, so ignore those warnings
NU5105: we're explicitly opting in to semver2, as is most of .NET Core
2017-11-10 23:05:42 +03:00
CS1701 and CS1702 are by default ignored by Microsoft.NET.Sdk, but if you define the NoWarn property in Directory.Build.props,
you don't get those defaults.
2021-01-20 03:02:03 +03:00
SYSLIB0011: Removing binary formatter will happen as part of a larger .NET-wide effort.
2022-09-19 21:22:56 +03:00
SYSLIB0037 & SYSLIB0044: The deprecated AssemblyName members could require a bigger refactor for us: https://github.com/dotnet/msbuild/issues/7902
RS0016 & RS0017: Roslyn analyzers seem to be bugged, claiming that API's that exist don't and vise-versa: https://github.com/dotnet/msbuild/issues/7903
2017-11-10 23:05:42 +03:00
-->
2023-01-30 17:14:19 +03:00
<NoWarn>$(NoWarn);NU1507;NU1603;NU5105;1701;1702;SYSLIB0011;SYSLIB0037;SYSLIB0044;RS0016;RS0017;</NoWarn>
2017-07-01 00:30:03 +03:00
</PropertyGroup>
2018-01-16 02:06:40 +03:00
<PropertyGroup Condition="'$(Configuration)' == 'Debug-MONO'">
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
<Optimize Condition="'$(Optimize)' == ''">false</Optimize>
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
<MonoBuild>true</MonoBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release-MONO'">
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
<Optimize Condition="'$(Optimize)' == ''">true</Optimize>
<MonoBuild>true</MonoBuild>
</PropertyGroup>
2018-02-07 16:22:15 +03:00
<!-- Configuration MSBuild for portable (xcopy-install) toolsets: works on WinNT and linux/mac via Mono, isolates from machine environment:
uses only tools installed with it, ignores Registry and GAC and Visual Studio installations to provide the same build experience on all machines -->
<PropertyGroup Condition="'$(Configuration)' == 'MachineIndependent'">
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
<Optimize Condition="'$(Optimize)' == ''">true</Optimize>
<DebugType Condition="'$(DebugType)' == ''">none</DebugType>
<MachineIndependentBuild>true</MachineIndependentBuild>
</PropertyGroup>
2018-02-14 20:40:17 +03:00
<PropertyGroup>
<DefaultItemExcludes>$(DefaultItemExcludes);*.log</DefaultItemExcludes>
<DefaultItemExcludes>$(DefaultItemExcludes);*.binlog</DefaultItemExcludes>
2018-11-29 21:57:37 +03:00
2018-12-08 00:57:00 +03:00
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
2023-01-30 17:14:19 +03:00
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<DirectoryPackagesPropsPath>$([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)', 'eng', 'Packages.props'))</DirectoryPackagesPropsPath>
2023-02-27 05:29:11 +03:00
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
2018-02-14 20:40:17 +03:00
</PropertyGroup>
2021-08-10 17:30:54 +03:00
2022-01-08 01:32:58 +03:00
<!-- Enable SDK supplied netanalyzers for all target frameworks -->
2021-08-10 17:30:54 +03:00
<PropertyGroup>
2022-01-08 01:32:58 +03:00
<EnableNETAnalyzers>true</EnableNETAnalyzers>
2021-08-10 17:30:54 +03:00
</PropertyGroup>
2023-01-30 17:14:19 +03:00
2017-07-01 00:30:03 +03:00
</Project>