You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks to me like a binding redirect issue. Give paket install --redirects a shot (and make sure there are app.config files for the command to write the redirects to).
@vasily-kirichenko Just trying your test project - interestingly when I try a paket restore I get:
Bad Crc during unzipping lib/sl3-wp/_._ in HtmlAgilityPack 1.4.9: CRC error: the file being extracted appears to be corrupted. Expected 0x00000000, Actual 0x6AF4413C
OK, found it. It's because only some of the libs in the package are strong named. The current algorithm in applyBindingRedirects just takes the last assembly with the highest version. I'm rewriting this to take into account that only some assemblies in a package may be strong named.
Activity
vasily-kirichenko commentedon Jan 2, 2015
Repro here https://github.com/vasily-kirichenko/PacketTest
forki commentedon Jan 2, 2015
Just tried your repro. It looks perfectly fine on my machine.
I assume it has to do with the "fixed" unzip of the HtmlAgilityPack package. Maybe the old dll was still there and got referenced.
kerams commentedon Jan 2, 2015
Looks to me like a binding redirect issue. Give
paket install --redirectsa shot (and make sure there are app.config files for the command to write the redirects to).vasily-kirichenko commentedon Jan 2, 2015
The project did not contain
app.config. I added it,paket install --redirectsmodified it as follows:But the error as before.
vasily-kirichenko commentedon Jan 2, 2015
@forki try to run PaketTest console.
vasily-kirichenko commentedon Jan 2, 2015
If I manually add
the error is gone.
kerams commentedon Jan 2, 2015
@vasily-kirichenko I was about to suggest that :))).
Guess it means that
--redirectsfails to detect it.isaacabraham commentedon Jan 2, 2015
Hmmm. Is HtmlAgilityPack strong named?
forki commentedon Jan 2, 2015
Isaac could you please take a look? It's strange, but I assume https://code.google.com/p/fizzler/source/browse/src/Fizzler.Systems.HtmlAgilityPack/Fizzler.Systems.HtmlAgilityPack.csproj#45 is the cause.
isaacabraham commentedon Jan 2, 2015
sure, will do.
isaacabraham commentedon Jan 2, 2015
@vasily-kirichenko Just trying your test project - interestingly when I try a
paket restoreI get:vasily-kirichenko commentedon Jan 2, 2015
That's known issue with this package.
vasily-kirichenko commentedon Jan 2, 2015
@forki maybe this causes the problem with missing redirect?
isaacabraham commentedon Jan 2, 2015
The redirect is missed because the assembly doesn't appear to be strong named.
forki commentedon Jan 2, 2015
Isaac, that crc error should be ignored in latest paket.
On Jan 2, 2015 7:01 PM, "Isaac Abraham" [email protected] wrote:
isaacabraham commentedon Jan 2, 2015
OK, found it. It's because only some of the libs in the package are strong named. The current algorithm in
applyBindingRedirectsjust takes the last assembly with the highest version. I'm rewriting this to take into account that only some assemblies in a package may be strong named.Fixes fsprojects#506
vasily-kirichenko commentedon Jan 2, 2015
Any chance to publish the fixed version?
isaacabraham commentedon Jan 2, 2015
Submitted a PR - please test it out. I tested it against your test project and HtmlAgilityPack is then added: -
Merge pull request #507 from isaacabraham/master
forki commentedon Jan 2, 2015
Released. Thanks