Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4.0.3 double dryioc break the build #120

Closed
ilgb opened this issue Apr 26, 2019 · 1 comment
Closed

V4.0.3 double dryioc break the build #120

ilgb opened this issue Apr 26, 2019 · 1 comment
Assignees

Comments

@ilgb
Copy link

ilgb commented Apr 26, 2019

The Dryioc Nuget package install a link to Dryioc source code in project, but if you use Dryioc in 2 projects (class lib net standard 2.0) in same solution with one that refer the other, it break the compilation with many error CS0121.

@dadhi
Copy link
Owner

dadhi commented Apr 26, 2019

  • That's why you should use lib DryIoc.dll package,
  • or use source DryIoc package in composition root project only (and the rest should be IoC agnostic)
  • or use source DryIoc.Internal package where the DryIoc public types made internal and not visible across the project boundary.

@dadhi dadhi closed this as completed May 1, 2019
@dadhi dadhi self-assigned this May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants