Fix .NET 6 implicit usings annotation in .csproj

This commit is contained in:
Marcello 2021-12-01 21:48:36 +01:00 committed by GitHub
parent 2beb560067
commit 8d80356d2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,10 +72,10 @@ namespace Namespace // namespace declaration
} }
``` ```
To disable .NET 6/C# 10 **implicit namespace imports**: To enable .NET 6/C# 10 **implicit namespace imports**:
```xml ```xml
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports> <ImplicitUsings>enable</ImplicitUsings>
``` ```
### Top Level Statements/Programs (C# 9) ### Top Level Statements/Programs (C# 9)