Skip to content
Discussion options

You must be logged in to vote

The ALC route should work, and the reason it fixes the customer's bug is slightly different from isolation — it's that you stop occupying the default context. Their v4 loads there cleanly once yours isn't sitting in it first. That's worth using as the acceptance test: after the change, load their plugin and confirm Length resolves to 4.x in Default.

The same framing gives you the constraint. Nothing in the default context may touch a UnitsNet type — not a parameter, not a return, not a local in a method that never runs. First reference triggers a Default load and you're back where you started. So the isolated assembly's public surface has to be UnitsNet-free: primitives, or types from an …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dschuermans
Comment options

@ChangkeunJ
Comment options

Answer selected by dschuermans
@dschuermans
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants