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

Warning: No compatible assemblies found in package 'MimeTypes'. #26

Open
doggy8088 opened this issue May 19, 2024 · 4 comments
Open

Warning: No compatible assemblies found in package 'MimeTypes'. #26

doggy8088 opened this issue May 19, 2024 · 4 comments

Comments

@doggy8088
Copy link

I try to install your package in my LINQPad. I see the following warning and I can't use your package in LINQPad. Can you check what's going on?

image

@khellang
Copy link
Owner

There's no assembly in the package. It's a source-only package where a single .cs file is included into your build when you install the package. It seems LINQpad doesn't handle these very well and this should probably be a feature request for the 😄

@doggy8088
Copy link
Author

doggy8088 commented May 31, 2024

I do asked in LINQPad forum here: https://forum.linqpad.net/discussion/3188/warning-no-compatible-assemblies-found-in-package-mimetypes

I think it's not possible to have MSBuild support in LINQPad.

@alexeygritsenko
Copy link

Hi, i have same issues in VS2022, ASP.NET API 4.8 project:

Error Could not install package 'MimeTypes 2.5.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

@khellang
Copy link
Owner

Weird. The package includes content files for both .NET Standard and .NET Framework, which should both be usable by .NET Framework 4.8:

image

Personally I've used it in multiple .NET Framework projects. It would be nice if you could submit a repro project.

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

3 participants