You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Paket doesn't add expected reference to .csproj #2020
Create new solution in Visual Studio 2015 with a single console Windows app (not .NET core)
Initialize paket in a root directory
Add Microsoft.Extensions.Configuration.Json to the paket.dependencies
Add paket.references file to console project with Microsoft.Extensions.Configuration.Json
Expected behavior
Paket adds a reference to csproj file and application runs normally without any issues
Actual behavior
Reference is not added, and application fails to start with the following message:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.Extensions.Configuration.Json.dll
Additional information: Could not load file or assembly 'Microsoft.Extensions.Primitives, Version=1.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
Known workarounds
You can add reference manually, but it would removed during the next paket install. You can add missing dll to a project file and mark it as content with Copy If Newer option.
Activity
forki commentedon Nov 17, 2016
https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Json is referencing .NET Standard library for .NET 4.5.1 - WTF!?
@matthid I think this is breaking our model....
Optimize deps to make #2020 work - fixes #2020
matthid commentedon Nov 17, 2016
so this is fixed?
forki commentedon Nov 17, 2016
"fixed" as in yes this special case is handled as well.
Am 17.11.2016 2:02 nachm. schrieb "Matthias Dittrich" <
notifications@github.com>: