cloudscribe/cloudscribe.Web.Navigation

Could not load file or assembly 'System.Runtime, Version=4.1.0.0 at startup

Closed this issue · 3 comments

If I add cloudscribe.Web.Navigation nuget package to my project which using net451 framework, I get this error on startup:
System.IO.FileNotFoundException
Could not load file or assembly 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

In my project.json is:
"dependencies": {
...
"cloudscribe.Web.Navigation": "1.0.1-beta4"
},

"frameworks": {
"net451": {
"imports": [ "netstandard1.5" ]
}
}

It is OK on netcoreapp1.0 framework, but my project must targed Full .NET Framework 4.5.1.

I just published version 1.0.1-beta5 on nuget.org, I added the target for net451 and I also changed the other target to netstandard1.3

can you try it and confirm it solves the problem for you

On beta5 it's working fine.
Thank you

Thanks for the bug report and confirming the fix!