Something changed in VS 2022 Preview 3 and VS 2019 16.11 that breaks VB WinForms Apps
See original GitHub issueVisual Studio Version: VS 2022 Preview 3 and VS 2019 16.11
Summary: System and Microsoft.VisualBasic as well are many other libraries now require an explicate Import
Steps to Reproduce: any existing WInforms application now requires explicate imports in designer file
Imports System.Diagnostics
Imports System.Runtime
Imports Microsoft.VisualBasic
Expected Behavior: Project should just work
Actual Behavior: 1000’s of errors User Impact: lots of manual editing to add all the missing imports, including adding “System” to Project file Include section.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Visual Studio 2022 Preview 3 now available!
We are excited to announce the third preview release of Visual Studio 2022! With Preview 3 there are more new capabilities on the...
Read more >Cannot debug net6.0-macos Apps - Developer Community
It looks like the command is getting a hyphen inserted into it for some reason. Fixed In: Visual Studio 2022 for Mac version...
Read more >Unable to Hot Reload on Visual Studio 2022
I moved my web app from Visual Studio 2019 to 2022 (Preview 7) but I am unable to hot-reload even small changes like...
Read more >Why doesn't VS 2022 show my WinForms UI at design time?
I opened a legacy WinForms app in VS2022, just to be greeted by white screens of brokenness when viewing any of the Forms....
Read more >How to target .NET in Visual Studio 2019 after .NET Core ...
NET cross-platform development workload in Visual Studio 2019 will be. ... (development was supported only with Visual Studio 2022 preview).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That looks like the list of missing stuff I am seeing. System, collections, diagnostic and VisualBasic missing cause the majority of issues.
@melytc can you please take a look at this ASAP and try to repro it?