mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-04-08 11:56:41 +00:00
Notes on how to disable net 6 implicit imports
This commit is contained in:
parent
46e22a442c
commit
817a6dc1f5
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ namespace Namespace // namespace declaration
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To disable .NET 6/C# 10 **implicit namespace imports**:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
|
||||||
|
```
|
||||||
|
|
||||||
### Top Level Statements/Progrmas (C# 9)
|
### Top Level Statements/Progrmas (C# 9)
|
||||||
|
|
||||||
```cs
|
```cs
|
||||||
|
|
Loading…
Add table
Reference in a new issue