question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Something changed in VS 2022 Preview 3 and VS 2019 16.11 that breaks VB WinForms Apps

See original GitHub issue

Visual 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:open
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
paul1956commented, Aug 13, 2021

That looks like the list of missing stuff I am seeing. System, collections, diagnostic and VisualBasic missing cause the majority of issues.

1reaction
jjmewcommented, Aug 13, 2021

@melytc can you please take a look at this ASAP and try to repro it?

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found