Description
Paket doesn't add reference to Microsoft.Extensions.Primitives when I add Microsoft.Extensions.Configuration.Json as a reference in paket.references
This may also be related: #1964
Repro steps
PaketReferencesIssue.zip
- 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.
Description
Paket doesn't add reference to Microsoft.Extensions.Primitives when I add Microsoft.Extensions.Configuration.Json as a reference in paket.references
This may also be related: #1964
Repro steps
PaketReferencesIssue.zip
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:
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 withCopy If Neweroption.