System.Buffers part 2

Sounds like (some) of the References folder wasn’t extracted or copied correctly. Odd, never had that happen, myself.

I love how https://docs.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks conveniently skips discussion netstandard… :frowning:

My webapp uses Nancy

At runtime the app is now complaining about Microsoft.Extensions.DependencyModel 2.0.4 being missing. Which is the case as its listed as a Nancy dependency

The build log says this

D: Package Nancy:2.0.0 found in repository <NuGetRepository file:///Users/JohnMoshakis/.nuget/packages/>.
Adding dependency Microsoft.Extensions.DependencyModel:2.0.4] from Nancy:2.0.0.
D: Checking <NuGetRepository file:///Users/JohnMoshakis/.nuget/packages/>
D: Package Microsoft.Extensions.DependencyModel found in repository <NuGetRepository file:///Users/JohnMoshakis/.nuget/packages/>
D: Available Versions of ‘Microsoft.Extensions.DependencyModel’: 3.1.0, 2.0.4, 2.0.0-preview1-001960, 1.1.1, 1.1.0, 1.0.3, 1.0.0.
D: Package Microsoft.Extensions.DependencyModel:2.0.4 found in repository <NuGetRepository file:///Users/JohnMoshakis/.nuget/packages/>.
Adding dependency Microsoft.DotNet.PlatformAbstractions:2.0.4] from Microsoft.Extensions.DependencyModel:2.0.4.

If you look at 2.0.4


It never suppported dotnetstandard 2.0, only 1.6 is listed

Im assuming since it favored .net before it used .net 4.5.1 dependencies.

I added nancy to a visual studio 4.7 web application and only nancy.dll was copied to the bin directory.

“Makes sense”, guess the fix isn’t the right one. I’m out of ideas on this one, sorry.

Ok. Will you be looking into the .net core publish issues I was having ?

Yes, that’s a separate thing. Iirc i asked a follow-up Q a few days back, but I’ll recheck.

At the risk of sounding silly, but I’ve also been confusing this, I think, with an unrelated Publish uses that Patrick has been asking about (which is about MSBuild interop, so unrelated for sure). Can you bump the thread with your issue and — if not clearly there — follow up with a new reply with the most simple testcase you can come up with that shows your issue? I’ll try to make looking at it a priority tomorrow, then.

thanx!