61 строка
2.7 KiB
XML
61 строка
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project>
|
|
<PropertyGroup>
|
|
<UsingToolXUnit>false</UsingToolXUnit>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
|
|
|
|
<PropertyGroup Condition="'$(CopyrightNetFoundation)' != ''">
|
|
<Copyright>$(CopyrightNetFoundation)</Copyright>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<NoWarn>$(NoWarn);NU5125;CA1416</NoWarn>
|
|
<!--
|
|
We sort of half sort of support macOS in this repo, this warning is telling us that we are on the precipice of
|
|
failure (because we are depending on win-x64 only assemblies). But darc is basically standing in the middle
|
|
of a thunderstorm and just hasn't been struck by lightning.
|
|
We don't have any validation around this scenario, and we don't have time to separate out all our dependencies
|
|
to let the compiler help us.
|
|
So the answer is to close our eyes, and tell the compiler to just... let it rain.
|
|
|
|
The "root" of the problem is that "ServiceHost" is win-x64 only, and "darc.exe" wants to be "any",
|
|
but all the _rest_ of the assemblies in the middle aren't separated or marked correctly to reflect
|
|
which half of the universe they are intended for/allowed in, so the streams get crossed a lot.
|
|
-->
|
|
<NoWarn>$(NoWarn);MSB3270</NoWarn>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<LangVersion>latest</LangVersion>
|
|
<IsShipping>false</IsShipping>
|
|
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
|
|
|
|
<EnableCentralPackageVersions>true</EnableCentralPackageVersions>
|
|
<CentralPackagesFile>$(MSBuildThisFileDirectory)eng/Packages.props</CentralPackagesFile>
|
|
<CentralPackageVersionOverrideEnabled>true</CentralPackageVersionOverrideEnabled>
|
|
|
|
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
|
|
<DisableImplicitNamespaceImports_DotNet>true</DisableImplicitNamespaceImports_DotNet>
|
|
<DisableImplicitNamespaceImports_Web>true</DisableImplicitNamespaceImports_Web>
|
|
<DisableImplicitNamespaceImports_Worker>true</DisableImplicitNamespaceImports_Worker>
|
|
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<TestRunnerName></TestRunnerName>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition=" '$(IsTestProject)' == 'true' ">
|
|
<PackageReference Include="FluentAssertions" />
|
|
<PackageReference Include="Moq" />
|
|
<PackageReference Include="NUnit" />
|
|
<PackageReference Include="NUnit3TestAdapter">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
</Project>
|