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

Convert error, return type is not supported: VS2022Community #114

Open
sunsingsoft opened this issue Nov 28, 2022 · 2 comments
Open

Convert error, return type is not supported: VS2022Community #114

sunsingsoft opened this issue Nov 28, 2022 · 2 comments
Labels

Comments

@sunsingsoft
Copy link

I love this tool however I am getting a constant error from a clean install of Visual Studio Community 2022 anytime I try to convert from RGB to XYZ or vise versa. I am building using .Net Framework 4.7.1

BC30657: 'Convert' has a return type that is not supported, or parameter types that are not supported. I would love to resolve this issue and use it!

@tompazourek
Copy link
Owner

The types that are used for colors are readonly struct... Maybe you're using a language/version that has some issue with that. What language and version do you use?

I'm not sure this will be possible to resolve easily (if you or anyone else has some ideas, feel free to contribute)... But you can try using v1 version of the library (i.e. version 1.2.2) that should work fine with older toolchains...

@tompazourek
Copy link
Owner

Also, can you maybe attach a ZIP (or Git repo link) with a repro case? Just some minimal console app that gives you that issue. It could be really helpful for more investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants