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

Error importing if Microsoft.Extensions.Logging.Abstractions.dll already exists in project #30

Closed
mgmhunt opened this issue Aug 24, 2023 · 1 comment
Assignees

Comments

@mgmhunt
Copy link

mgmhunt commented Aug 24, 2023

PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Microsoft.Extensions.Logging.Abstractions.dll included on the current platform. Only one assembly with the same name is allowed per platform.

Moving package to root Packages folder and removing Microsoft.Extensions.Logging.Abstractions.dll from the package allows compile.

@cathei cathei self-assigned this Aug 25, 2023
@cathei
Copy link
Owner

cathei commented Sep 20, 2023

Thank you for reporting.

I've added BAKINGSHEET_EXTERNAL_LOGGING_DLL define constraint you can add in Project Settings. Defining it will disable BakingSheet's embedded Microsoft.Extensions.Logging.Abstractions.dll.

@cathei cathei closed this as completed Sep 20, 2023
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