dotnet / dotnet/msbuild

Microsoft.Build.Runtime package contains mscorlib.dll in contentFiles, which breaks sln that references it

Open
#3,486 2 comments 1 reaction 0 assignees View on GitHub
bug packaging triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

### Steps to reproduce

There's an internal solution that I'm working on breaking down further to get a small repro, but the essence of the problem is that referencing the latest (15.8) Microsoft.Build.Runtime brings along an mscorlib.dll in contentFiles. These files end up in ResolveAssemblyReferences, and we pick up the package mscorlib, which breaks compilation.

### Expected behavior

Either the package shouldn't have an mscorlib in it, or it should end up in RAR.

### Actual behavior

It does.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.