I'm converting some old legacy VB apps from .NET framework to .NET 5, and have worked through most of the issues, however, I'm lost on these:
Error BC30002 Type 'Global.Microsoft.VisualBasic.ApplicationServices.ApplicationBase' is not defined.
Error BC30002 Type 'Global.Microsoft.VisualBasic.ApplicationServices.User' is not defined.
Error BC30002 Type 'Global.Microsoft.VisualBasic.Devices.Computer' is not defined.
Error BC30002 Type 'Global.Microsoft.VisualBasic.MyServices.Internal.ContextValue' is not defined.
VisualBasic 10.3.0 package is included in the project.
Any tips are appreciated.
Thanks, Bill
My
code somewhere that is not compatible with .NET 5. That was one of the last pieces added - VB WinForms was supported in .NET 3.1 but it wasn't surfaced because some VB specific features, includingMy
, had not been implemented - so there may be critical differences that are preventing your old code upgrading. – Collett