Repository navigation
Update import of implicit usings - #5432
Conversation
Relates to dotnet/sdk#19521 Relates to dotnet/sdk#19599
paul1956
left a comment
There was a problem hiding this comment.
Aren't theses 3 also missing, first 2 for forms designer, third for anything VB?
System.Diagnostics
System.Runtime
Microsoft.VisualBasic
|
VB always supported implicit usings, this change is for C# only, refer to dotnet/sdk#19521 for more details. |
|
Something changed in VS 2019 16.11.0 and VS 2022 Preview 3 that broke existing WinForms VB Projects and now they require explicate imports for a lot of stuff including System. dotnet/sdk#19735 I thought this was the fix. |
It got unintendedly regressed in dotnet/sdk#18459. It was fixed in dotnet/sdk#19599, available in the latest SDK. |
|
Verified against globally installed 6.0.100-rc.1.21416.26 by patching C:\Program Files\dotnet\sdk\6.0.100-rc.1.21416.26\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props/targets. |
Relates to dotnet/sdk#19521
Relates to dotnet/sdk#19599
Microsoft Reviewers: Open in CodeFlow