core icon indicating copy to clipboard operation
core copied to clipboard

System.Memory nuget - System.Runtime 4.2.1.0 not found

Open Symbai opened this issue 8 years ago • 2 comments

Hi,

I've installed latest System.Memory 4.5.0-rc1 from nuget and when trying to use Span I receive an System.IO.FileNotFoundException telling System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a was not found.

But the latest System.Runtime from nuget is 4.3 and installing it doesn't fix the exception. The previous version on nuget is 4.1, there is no 4.2.1

Any help would be appreciated

Symbai avatar May 18 '18 14:05 Symbai

@Symbai Tried it without any issues. Used both .NET 4.6.1 and .NET CORE 2.* Post a link to a repo where the issue is reproduced and I can have a look

uffebjorklund avatar May 18 '18 16:05 uffebjorklund

Hi, thanks for the reply. I've deleted vs and obj folder and removed assembly bindings in app.config and the issue is gone. No idea why and sorry for the trouble.

Symbai avatar May 18 '18 17:05 Symbai