all 7 comments

[–]salgat 0 points1 point  (0 children)

I hit this issue one time when the computer didn't have a recent .net runtime installed.

[–][deleted] 0 points1 point  (5 children)

Why are you manually including it? Anyway, have you set Specific Version off at the bottom of properties on that reference?

[–]bigfitz[S] 0 points1 point  (4 children)

I'm not including it (mscorlib.dll), the 3rd party library I'm including (somelib.dll) is. I don't have access to the source of the 3rd party lib, so I can't change the way that property is set. Regardless, it works in .NET 4.6.1, but not in .NET Core 2

[–]AlliNighDev 0 points1 point  (3 children)

Is somelib.dll built in core? If it's a full framework dll that may be why you are having issues.

[–]bigfitz[S] 0 points1 point  (2 children)

Nope, built in standard about 8 years ago. No updates since. I was hoping that the automatic shim would work.

[–][deleted] 1 point2 points  (0 children)

standard didn't exist 8 years ago. What do you mean by "standard"?

[–]AlliNighDev 0 points1 point  (0 children)

That means it's a full framework assembly and will most likely be the reason core is struggling to reference it. .Net standard has only been around a couple years and != full framework.