diff --git a/bff/src/Bff.Blazor.Client/GlobalAliasses.cs b/bff/src/Bff.Blazor.Client/GlobalAliasses.cs deleted file mode 100644 index ca3428b45..000000000 --- a/bff/src/Bff.Blazor.Client/GlobalAliasses.cs +++ /dev/null @@ -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; - diff --git a/bff/src/Bff.Blazor/GlobalAliasses.cs b/bff/src/Bff.Blazor/GlobalAliasses.cs deleted file mode 100644 index ca3428b45..000000000 --- a/bff/src/Bff.Blazor/GlobalAliasses.cs +++ /dev/null @@ -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; - diff --git a/bff/src/Bff.EntityFramework/GlobalAliasses.cs b/bff/src/Bff.EntityFramework/GlobalAliasses.cs deleted file mode 100644 index ca3428b45..000000000 --- a/bff/src/Bff.EntityFramework/GlobalAliasses.cs +++ /dev/null @@ -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; - diff --git a/bff/src/Bff/GlobalAliasses.cs b/bff/src/Bff/GlobalAliasses.cs deleted file mode 100644 index ca3428b45..000000000 --- a/bff/src/Bff/GlobalAliasses.cs +++ /dev/null @@ -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; - diff --git a/bff/test/Bff.Tests/GlobalAliasses.cs b/bff/test/Bff.Tests/GlobalAliasses.cs deleted file mode 100644 index ca3428b45..000000000 --- a/bff/test/Bff.Tests/GlobalAliasses.cs +++ /dev/null @@ -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; - diff --git a/hosts_and_clients.props b/hosts_and_clients.props index 2db983ce1..65eaec4fc 100644 --- a/hosts_and_clients.props +++ b/hosts_and_clients.props @@ -20,5 +20,8 @@ true true + + + diff --git a/bff/performance/Bff.Benchmarks/GlobalAliasses.cs b/shared/GlobalAliasses.cs similarity index 62% rename from bff/performance/Bff.Benchmarks/GlobalAliasses.cs rename to shared/GlobalAliasses.cs index ca3428b45..488eb2b54 100644 --- a/bff/performance/Bff.Benchmarks/GlobalAliasses.cs +++ b/shared/GlobalAliasses.cs @@ -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 diff --git a/src.props b/src.props index 079473491..30d79e324 100644 --- a/src.props +++ b/src.props @@ -61,6 +61,10 @@ true + + + + all diff --git a/test.props b/test.props index 2b6330591..f0341758d 100644 --- a/test.props +++ b/test.props @@ -27,6 +27,10 @@ true + + + +