Editing `packman.json` or restoring packages results in: Could not load file or assembly 'Microsoft.JSON.Core, Version=14.0.0.0, (...)' or one of its dependencies. #48
It will only download packages when they are added the first time. Restore packages or changing packman.json will always result in the error shown below in the Show output from: Client-side Library Installer window and nothing else.
Steps to recreate
Install Client-Side Library Manager
File, New Project, ASP.NET Web Application, .NET Core 2.1.
Shift+Alt+8, popper, Save manifest file, Install
Right click packman.json, Restore Packages.
I verified this happens in both versions of Visual Studio mentioned, with .NET Core 2.1 projects and 2.0, although I only tested VS 15.6.4 with a .NET Core 2.0 project.
Current behavior
3/31/2018 5:13:59 PM: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.JSON.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.JSON.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at PackmanVsix.PackageService.<IsValidJson>d__5.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
at PackmanVsix.PackageService.IsValidJson(String file)
at PackmanVsix.PackageService.<RestorePackagesAsync>d__4.MoveNext() in C:\projects\packman\src\PackmanVsix\PackageService.cs:line 0
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Installed product versions
Description
The extension is broken.
It will only download packages when they are added the first time. Restore packages or changing
packman.json
will always result in the error shown below in the Show output from: Client-side Library Installer window and nothing else.Steps to recreate
popper
, Save manifest file, Installpackman.json
, Restore Packages.I verified this happens in both versions of Visual Studio mentioned, with .NET Core 2.1 projects and 2.0, although I only tested VS 15.6.4 with a .NET Core 2.0 project.
Current behavior
Expected behavior
Packages are restored.