Can't compile anymore, implicit using doesn't seem to work. #5408
|
Since the last update we cannot compile winforms and winforms-designer anymore. In both cases the SDK version 6.0.100-rc.1.21379.2 cannot be found and cannot be downloaded. The latest we can find is 6.0.100-preview.6.21355.2. "using System" is missing and the implicit using in csproj is missing as well causing thousands of compiler error. Tried with VS2019 and 2022 and on clean dev machines. What am I missing? |
Replies: 3 comments 4 replies
How are you trying to download it?
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. |



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
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…