Skip to content

Can't compile anymore, implicit using doesn't seem to work. #5408

Answered by RussKie
lucapivato asked this question in Q&A
Discussion options

You must be logged in to vote

In both cases the SDK version 6.0.100-rc.1.21379.2 cannot be found and cannot be downloaded.

How are you trying to download it?
Works on my machine (c): https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-rc.1.21379.2/dotnet-sdk-6.0.100-rc.1.21379.2-win-x64.zip

"using System" is missing and the implicit using in csproj is missing as well causing thousands of compiler error.

This is because we're using the new "implicit global usings" introduced in Preview7: dotnet/sdk#18459. This feature is not compatible with VS2019, and only supported in VS2022 and .NET 6.0 Preview7.
However this has been recognised as an intrusive change, and there will be additional follow up work tracked under dot…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by RussKie
Comment options

You must be logged in to vote
2 replies
@RussKie
Comment options

RussKie Aug 10, 2021
Collaborator

@lucapivato
Comment options

Comment options

You must be logged in to vote
2 replies
@lucapivato
Comment options

@RussKie
Comment options

RussKie Aug 10, 2021
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5407 on August 10, 2021 04:57.