madskristensen / BundlerMinifier

Visual Studio extension
Other
611 stars 171 forks source link

Depends on outdated NewtonSoft.Json version #567

Open tyddynonn opened 3 years ago

tyddynonn commented 3 years ago

On VS2019 Community, DotNet Core 5 project BuildBundlerMinifier 3.2.449, with NewtonSoft.JSON 13.0.1 (latest - 13.0.0 no longer available) installed

Description

Severity Code Description Project File Line Suppression State Error The "BundlerMinifier.BundlerBuildTask" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

Current behavior

Looks like an explicit dependancy on NewtonSoft.Json 13.0.0 rather than 13 and up.

Expected behavior

No failure on build

silentdiverchris commented 3 years ago

Identical versions here and while I'm not seeing the FileNotFoundException, my compilerconfig.json isn't being obeyed on build and still no context menu to invoke it manually, this error message might explain long standing issue https://github.com/madskristensen/BundlerMinifier/issues/536 but hard to tell due to lack of any diagnostics.