Skip to content

MSBuildWorkspace does not cleanly load VB project on Linux or MacOS #72014

@JoeRobich

Description

@JoeRobich

Version Used: 4.10 Preview 1

Reported in #69225

Steps to Reproduce:

  1. dotnet new console --language VB
  2. use MSBuildWorkspace.OpenProjectAsync to load the newly created VB project

Expected Behavior:
Project loads without any workspace diagnostics and compilation reports no compiler diagnostics.

Actual Behavior:
Compilation reports "BC30002": Type 'Global.Microsoft.VisualBasic.ApplicationServices.ApplicationBase' is not defined.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions