Missing using statements #59
-
When I do a new clone and open with visual studio, I have to add a lot of using statements. I just downloaded Visual Studio 2022 Preview to target .NET 6. Am I missing a setting? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Could you try to open with Visual Code? I never opened the solution with Visual Studio. |
Beta Was this translation helpful? Give feedback.
-
Since rc1, You have to explicitly enable explicit usings in the csproj file now. See also https://docs.microsoft.com/en-us/dotnet/core/compatibility/sdk/6.0/implicit-namespaces-rc1 |
Beta Was this translation helpful? Give feedback.
Could you try to open with Visual Code? I never opened the solution with Visual Studio.