Skip to content

dotnet build with Microsoft.NETFramework.ReferenceAssemblies can't find 'Microsoft.VisualBasic.dll' #15712

@daveMueller

Description

@daveMueller

Hello,

I'm currently trying to build a Visual Basic project with target framework v4.7.2 via dotnet build on linux. As far as I know this should be possible when using the package Microsoft.NETFramework.ReferenceAssemblies as described here.
Nevertheless the build job is failing with vbc : error BC2017: could not find library 'Microsoft.VisualBasic.dll'. I can't figure out what I'm doing wrong. The nuget package definitely contains the dll but the build on linux somehow doesn't find it.

To be precise, this is the PR where I'm facing this issue (coverlet-coverage/coverlet#1073). I'm thankful for any help.

Metadata

Metadata

Assignees

Labels

untriagedRequest triage from a team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions