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.
Answered by
iammukeshm
Sep 15, 2021
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.
3 replies
Answer selected by
iammukeshm
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could you try to open with Visual Code? I never opened the solution with Visual Studio.