.net 8.0.2 Blazor `_imports.razor` & using `IDE0005`
- Dominant language
- No language data
- Stars
- 1.9k
- Forks
- 173
- Avg merge
- 10d 13h
- Merged PRs (30d)
- 1
Description
When running `dotnet format`, it seems to remove all the usings everywhere in my unit tests where I do not have a GlobalUsings.cs file.
My `_Imports.razor`:
...
@using Passwordless.AdminConsole.Components
@using Passwordless.AdminConsole.Components.Shared
@using Passwordless.AdminConsole.Components.Shared.ApexCharts
@using Passwordless.AdminConsole.Components.Shared.Cards
@using Passwordless.AdminConsole.Components.Shared.Icons
@using Passwordless.AdminConsole.Components.Shared.Links
@using Passwordless.AdminConsole.Components.Shared.Stats
...
It would remove the using clauses in my unit test project of the lines above. Is this expected behavior? It was not happening in .NET 8.0.1 or .NET 8.0.0.
If I add a GlobalUsings declaration in my unit tests project, it no longer seems to happen.
It is an open-source project: [https://github.com/bitwarden/passwordless-server](https://github.com/bitwarden/passwordless-server)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.