Comments (1)
OK, so I have worked out why this is happening for only System.IO.Abstractions.
Basically it is because the assembly binding redirect is not being added to the app.config when installing the latest package.
This should happen automatically however it is not, because from version 2.0.0.124 (of System.IO.Abstractions see TestableIO/System.IO.Abstractions#178) the assembly has not been correctly signed. As such the binding redirect will not be auto created on package install and the result is that runtime exception.
The System.IO.Abstractions team are looking into this now (see TestableIO/System.IO.Abstractions#182), however in the meantime you will just need to add the correct binding redirect manually.
Something like the below should work.
<dependentAssembly>
<assemblyIdentity name="System.IO.Abstractions" publicKeyToken="d480b5b72fb413da" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.138" newVersion="2.0.0.138" />
</dependentAssembly>
from pact-net.
Related Issues (20)
- Wrong result validation when publishing pacts? HOT 11
- 'WithSslVerificationDisabled' doesnt disable ssl verification HOT 12
- Pact testing of protobuf messages failing due to content type JSON HOT 4
- Pact Merging Creates Duplicate Interactions HOT 3
- RFC: Pact Plugins HOT 6
- Pact json being overwritten by each test in C# .NET HOT 7
- Pact request body with inner object gives internal server error in Pact Net HOT 6
- Dynamic date in request HOT 3
- RFC: Add linux-musl-x64 Runtime Support HOT 3
- RFC: Add Linux (libc)-ARM Runtime Support HOT 2
- RFC: Support System.Text.Json default polymorphic type discriminator when using .WithJsonBody() HOT 2
- DevContainer: Unable to load shared library 'pact_ffi' or one of its dependencies HOT 1
- DevContainer: Unable to load shared library 'pact_ffi' or one of its dependencies wit PactNet.5.0.0-beta.2 HOT 2
- Match.Type throws an exception on an attribute of type Object HOT 3
- Version 5 roadmap HOT 1
- RFC: Distinguish technical failures when verifying pacts HOT 6
- RFC: add failIfNoPactsFound flag to Provider tests HOT 3
- Multiple integrations with same Consumer and Provider cause to pact file write errors HOT 7
- RFC: EachKey and EachValue Matcher HOT 1
- Documentation Confusion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pact-net.