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

Model purpose compiled assembly uses DLL that are loaded by MEF infrastructure #24

Closed
marxin opened this issue Oct 22, 2013 · 2 comments

Comments

@marxin
Copy link

marxin commented Oct 22, 2013

Error message:

compile error: CS0433: The type 'System.Linq.EnumerableEx' exists in both 'c:\AAA\bin\Util.dll' and 'c:\BBB\Util.dll'

Where c:\BBB\Util.dll is loaded by MEF infrastructure.

Could you somehow regulate and do not load all these libraries?

@jlamfers
Copy link
Owner

By configuration you can reference any number of assemblies you want.
Only by default all application assemblies are referenced. And if you
create a configuration instance in code there is an overload that
allows you to pass a flag that tells the configuration instance not to
scan for application assemblies.

2013/10/22, marxin notifications@github.com:

Error message:

compile error: CS0433: The type 'System.Linq.EnumerableEx' exists in both
'c:\AAA\bin\Util.dll' and 'c:\BBB\Util.dll'

Where c:\BBB\Util.dll is loaded by MEF infrastructure.

Could you somehow regulate and do not load all these libraries?


Reply to this email directly or view it on GitHub:
#24

@marxin
Copy link
Author

marxin commented Oct 24, 2013

You are right, reference list fixed my problem.

@marxin marxin closed this as completed Oct 24, 2013
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