mirror of
https://github.com/DuendeSoftware/products
synced 2026-05-24 09:28:24 +00:00
Introduce shared GlobalAliasses.cs with CT = CancellationToken alias repo-wide
Replace the per-project GlobalAliasses.cs files in BFF with a single canonical file in shared/, linked into all projects via src.props, test.props, and hosts_and_clients.props.
This commit is contained in:
parent
625d8b9785
commit
7f04aba927
9 changed files with 13 additions and 26 deletions
|
|
@ -1,5 +0,0 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
global using CT = System.Threading.CancellationToken;
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
global using CT = System.Threading.CancellationToken;
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
global using CT = System.Threading.CancellationToken;
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
global using CT = System.Threading.CancellationToken;
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
global using CT = System.Threading.CancellationToken;
|
||||
|
||||
|
|
@ -20,5 +20,8 @@
|
|||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)shared/GlobalAliasses.cs" Link="GlobalAliasses.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
// Copyright (c) Duende Software. All rights reserved.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
#pragma warning disable IDE0005 // Remove unnecessary using directives
|
||||
global using CT = System.Threading.CancellationToken;
|
||||
|
||||
#pragma warning restore IDE0005
|
||||
|
|
@ -61,6 +61,10 @@
|
|||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)shared/GlobalAliasses.cs" Link="GlobalAliasses.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@
|
|||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)shared/GlobalAliasses.cs" Link="GlobalAliasses.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" />
|
||||
<PackageReference Include="Shouldly" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue