AngleSharp / AngleSharp.Css

:angel: Library to enable support for cascading stylesheets in AngleSharp.

Home Page:https://anglesharp.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not load file or assembly 'AngleSharp, Version=0.16.0.0

MaceWindu opened this issue · comments

Bug Report

Description

AngleSharp.Css (0.16.3 and current master) built against AngleSharp 0.16.0 (see here), but nuspec dependency bumped to 0.16.1.

This results in error in

System.IO.FileLoadException: 'Could not load file or assembly 'AngleSharp, Version=0.16.0.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

in .net framework programs without binding redirect.

Steps to Reproduce

  • create netfx project
  • reference anglesharp.css 0.16.3 nuget
  • create instance of e.g. CssParser
  • run program

Expected behavior: it works

Actual behavior: it crashes due to dependent assembly version mismatch

Environment details: .net framework 4.8

Possible Solution

New release built against AngleSharp 0.16.1

PR welcome.