2017-11-02 20:40:59 +03:00
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
2017-02-11 01:19:24 +03:00
<Project>
2018-09-20 01:11:56 +03:00
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
2022-08-31 15:31:10 +03:00
<Import Project="$(RepositoryEngineeringDir)Analyzers.props" />
2017-11-02 20:40:59 +03:00
<PropertyGroup>
2019-11-13 03:40:57 +03:00
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2019-02-22 22:32:39 +03:00
<LangVersion>Latest</LangVersion>
2018-09-20 01:11:56 +03:00
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<DebugSymbols>true</DebugSymbols>
2021-08-31 19:21:06 +03:00
<!-- Default to all packages generating a corresponding symbol package -->
<IncludeSymbols>true</IncludeSymbols>
2019-03-26 23:42:14 +03:00
<IsShippingPackage>false</IsShippingPackage>
2022-10-14 01:19:20 +03:00
<SdkTargetFramework>net8.0</SdkTargetFramework>
2019-11-06 23:25:57 +03:00
<ToolsetTargetFramework>$(SdkTargetFramework)</ToolsetTargetFramework>
2022-09-07 14:34:41 +03:00
<!-- VS for Mac may run on a lower version of .NET than the SDK is targeting, but needs to load the resolvers. So the resolvers and dependencies
may target a lower version of .NET -->
2022-11-03 21:24:43 +03:00
<ResolverTargetFramework>net7.0</ResolverTargetFramework>
2022-09-14 20:44:19 +03:00
<!-- Source build does not need to worry about running on VS for Mac -->
<ResolverTargetFramework Condition="'$(DotNetBuildFromSource)' == 'true'">$(SdkTargetFramework)</ResolverTargetFramework>
2019-08-23 04:10:18 +03:00
2023-08-01 00:00:19 +03:00
<!-- NU1701 Disable implicit package target fallback, and disable warning for when we explicitly add it (currently needed for
2019-10-23 00:42:18 +03:00
Microsoft.ApplicationInsights) -->
2023-08-01 00:00:19 +03:00
<!-- NU1507 Disable multi-feed check as .NET uses multiple internal feeds intentionally -->
2023-07-29 03:09:08 +03:00
<NoWarn>$(NoWarn);NU1701;NU1507</NoWarn>
2022-09-08 12:54:01 +03:00
<!-- do not enable analyzers on source build-->
<EnforceCodeStyleInBuild Condition="'$(DotNetBuildFromSource)' != 'true'">true</EnforceCodeStyleInBuild>
2019-10-23 00:42:18 +03:00
<DisableImplicitPackageTargetFallback>true</DisableImplicitPackageTargetFallback>
<!-- <ArtifactsShippingSymbolsDir>$(ArtifactsDir)symbols\$(Configuration)\Shipping</ArtifactsShippingSymbolsDir> -->
2021-04-02 19:20:05 +03:00
<DefineConstants Condition="'$(ContinuousIntegrationBuild)' == 'true'">$(DefineConstants);CI_BUILD</DefineConstants>
2022-07-13 12:26:10 +03:00
<DefineConstants Condition="'$(OfficialBuilder)' == 'Microsoft'">$(DefineConstants);MICROSOFT_ENABLE_TELEMETRY</DefineConstants>
2022-07-18 22:44:27 +03:00
<DefineConstants Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefineConstants);DOT_NET_BUILD_FROM_SOURCE</DefineConstants>
2023-07-29 03:09:08 +03:00
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
2023-08-02 03:03:00 +03:00
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
2018-09-20 01:11:56 +03:00
</PropertyGroup>
2017-11-02 20:40:59 +03:00
<PropertyGroup Condition="'$(IsTestProject)' == 'true'">
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<GenerateProgramFile>false</GenerateProgramFile>
2021-01-05 19:25:08 +03:00
<!-- <TestRunnerAdditionalArguments>-parallel none</TestRunnerAdditionalArguments> -->
2017-11-02 20:40:59 +03:00
</PropertyGroup>
2023-07-26 06:26:59 +03:00
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
2023-07-26 06:58:16 +03:00
<!-- Global usings -->
<!-- See: https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#using -->
<ItemGroup>
<Using Include="System.Runtime.InteropServices" />
<Using Include="System.Text" />
<Using Include="System.Xml.Linq" />
</ItemGroup>
2019-10-21 21:36:22 +03:00
<Import Project="build/GenerateResxSource.targets" />
2017-11-02 20:40:59 +03:00
</Project>