For some reasons, I have to convert some projects (VB.NET and C#) to .NET Core.
I've followed info from various sources, from Convert .Net Core to .Net Framework and the Assembly Portability preventively to be conscious about the work to do.
Visual Studio 2019 Intellisense, after the conversion, does not show any alert BUT Visual Basic Projects does not compile.
The Visual Compiler shows the error for the namespaces "Global.Microsoft.VisualBasic.Devices" and "Global.Microsoft.VisualBasic.ApplicationServices" ("Type 'Global.Microsoft...' is not defined").
For each VB project, I have updated Microsoft.VisualBasic package. The current version is now 10.3.0. But the problem still persists.
Every project is targeted to .NET Core 3.1 framework.
What could be the problem?
This is the solution to my case: compiling succeded adding
<VBRuntime>Embed</VBRuntime>
to .vbproj file. stackoverflow.com/a/20005217/3185385