Skip to content

Build issues with net472 #107

@PrzemyslawKlys

Description

@PrzemyslawKlys

Bug Report

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version of AngleSharp?
  • Did you check the FAQs to see if that helps you?
  • Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support)
  • Did you perform a search in the issues?

For more information, see the CONTRIBUTING guide.

Description

There seems to be a problem on net472 during build time when it tries to use Jint 3.1.6.0

 HtmlForgeX.Tests net472 succeeded with 1 warning(s) (0,5s) → HtmlForgeX.Tests\bin\Debug\net472\HtmlForgeX.Tests.dll
    C:\Program Files\dotnet\sdk\10.0.100-rc.2.25502.107\Microsoft.Common.CurrentVersion.targets(2437,5): warning MSB3277: 
      Found conflicts between different versions of "Jint" that could not be resolved.
      There was a conflict between "Jint, Version=3.1.6.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f" and "Jint, Version=4.1.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f".
          "Jint, Version=3.1.6.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f" was chosen because it was primary and "Jint, Version=4.1.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f" was not.
          References which depend on "Jint, Version=3.1.6.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f" [C:\Users\przemyslaw.klys\.nuget\packages\jint\3.1.6\lib\net462\Jint.dll].
              C:\Users\przemyslaw.klys\.nuget\packages\jint\3.1.6\lib\net462\Jint.dll
                Project file item includes which caused reference "C:\Users\przemyslaw.klys\.nuget\packages\jint\3.1.6\lib\net462\Jint.dll".
                  C:\Users\przemyslaw.klys\.nuget\packages\jint\3.1.6\lib\net462\Jint.dll
          References which depend on or have been unified to "Jint, Version=4.1.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f" [].
              C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll
                Project file item includes which caused reference "C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll".
                  C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll
          References which depend on or have been unified to "Jint, Version=4.1.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f" [].
              C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll
                Project file item includes which caused reference "C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll".
                  C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll
              C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll
                Project file item includes which caused reference "C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll".
                  C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll
                  C:\Users\przemyslaw.klys\.nuget\packages\htmltinkerx\2.0.5\lib\net472\HtmlTinkerX.dll
                Project file item includes which caused reference "C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll".
                  C:\Users\przemyslaw.klys\.nuget\packages\anglesharp.js\1.0.0-beta.43\lib\net472\AngleSharp.Js.dll
                  C:\Users\przemyslaw.klys\.nuget\packages\htmltinkerx\2.0.5\lib\net472\HtmlTinkerX.dll

Steps to Reproduce

  1. Include it in your project
  2. Build it

Expected behavior: [What you expected to happen]

clean, choice, it's like net472 has some issues where net 8 didn't.

Actual behavior: [What actually happened]

Messy build time

Environment details: [OS, .NET Runtime, ...]

Possible Solution

Release new version as i see new version has Jint 4.1.0 so I guess this is already issue of a past

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions