You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
3.5 KiB
81 lines
3.5 KiB
<Project>
|
|
<Import Project="eng\RepoLayout.props" />
|
|
<Import Project="eng\Tests.props" />
|
|
|
|
<PropertyGroup>
|
|
<!-- Enable C#13 keyword "field" -->
|
|
<LangVersion>preview</LangVersion>
|
|
<NoWarn>$(NoWarn);1573;1591;1712</NoWarn>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<TargetFramework>$(SolutionTargetFramework)</TargetFramework>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
|
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)eng\GitExtensions.ruleset</CodeAnalysisRuleSet>
|
|
|
|
<!-- More information: https://aka.ms/msbuild/net8-binaryformatter -->
|
|
<GenerateResourceWarnOnBinaryFormatterUse>false</GenerateResourceWarnOnBinaryFormatterUse>
|
|
|
|
<!-- SourceLink: https://github.com/dotnet/sourcelink -->
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<DebugType>embedded</DebugType>
|
|
|
|
<!-- TODO once all project migrated to SDK-style, remove this and move properties to Directory.Build.props -->
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
|
|
<IsPublishable>false</IsPublishable>
|
|
|
|
<!-- Set the target platform manually to be: x64 (default), x86, arm64 -->
|
|
<TargetPlatform Condition=" '$(TargetPlatform)' == '' ">x64</TargetPlatform>
|
|
|
|
<!-- Opt in to build acceleration in VS (from 17.5 onwards): https://github.com/dotnet/project-system/blob/main/docs/build-acceleration.md -->
|
|
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
|
|
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
|
|
</PropertyGroup>
|
|
|
|
<!-- https://learn.microsoft.com/nuget/consume-packages/Central-Package-Management -->
|
|
<PropertyGroup>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
|
<!-- Coverlet's PDB check cannot handle deterministic source paths https://github.com/tonerdo/coverlet/issues/363 -->
|
|
<DeterministicSourcePaths>false</DeterministicSourcePaths>
|
|
</PropertyGroup>
|
|
|
|
<!-- Exclude *.resources
|
|
https://docs.microsoft.com/dotnet/core/project-sdk/msbuild-props#satelliteresourcelanguages -->
|
|
<PropertyGroup>
|
|
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
|
|
</PropertyGroup>
|
|
|
|
<!-- For the purposes of generating code coverage as part of the build -->
|
|
<PropertyGroup Condition="'$(Coverage)' == 'true'">
|
|
<!-- Coverlet assumes PDB files exist on disk https://github.com/tonerdo/coverlet/issues/362 -->
|
|
<DebugType Condition="'$(DebugType)' == 'embedded'">portable</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="$(RepoRoot)\CommonAssemblyInfo.cs" Link="Properties\CommonAssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="$(MSBuildThisFileDirectory)eng\stylecop.json">
|
|
<Link>stylecop.json</Link>
|
|
</AdditionalFiles>
|
|
<AdditionalFiles Include="$(MSBuildThisFileDirectory)eng\vs-threading.MainThreadAssertingMethods.txt">
|
|
<Visible>False</Visible>
|
|
</AdditionalFiles>
|
|
<AdditionalFiles Include="$(MSBuildThisFileDirectory)eng\vs-threading.MainThreadSwitchingMethods.txt">
|
|
<Visible>False</Visible>
|
|
</AdditionalFiles>
|
|
<AdditionalFiles Include="$(MSBuildThisFileDirectory)eng\vs-threading.TypesRequiringMainThread.txt">
|
|
<Visible>False</Visible>
|
|
</AdditionalFiles>
|
|
</ItemGroup>
|
|
|
|
</Project>
|