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

[Windows] Incompatible with Windows on NET 9 or VS 17.12.0 #166

Open
letrungdo opened this issue Nov 19, 2024 · 6 comments
Open

[Windows] Incompatible with Windows on NET 9 or VS 17.12.0 #166

letrungdo opened this issue Nov 19, 2024 · 6 comments

Comments

@letrungdo
Copy link

Flutter version 3.19.6

Build log error:
D:\a\1\s\windows\flutter\ephemeral\cpp_client_wrapper\include\flutter\encodable_value.h(199,60): error C2665: 'std::variant<std::monostate,bool,int32_t,int64_t,double,std::string,std::vector<uint8_t,std::allocator<uint8_t>>,std::vector<int32_t,std::allocator<int>>,std::vector<int64,std::allocator<int64>>,std::vector<double,std::allocator<double>>,flutter::EncodableList,flutter::EncodableMap,flutter::CustomEncodableValue,std::vector<float,std::allocator<float>>>::variant': no overloaded function could convert all the argument types [D:\a\1\s\build\windows\x64\plugins\webview_cef\webview_cef_plugin.vcxproj]

@TeekTon
Copy link

TeekTon commented Nov 20, 2024

I also have this problem .Please help me

@bahricanyesil
Copy link

bahricanyesil commented Nov 22, 2024

Is there any solution for this problem? @SinyimZhi

@bahricanyesil
Copy link

bahricanyesil commented Nov 26, 2024

You can use this as a temporary solution @TeekTon @letrungdo

@TeekTon
Copy link

TeekTon commented Nov 27, 2024

Ok, I will try.Thanks

@TeekTon
Copy link

TeekTon commented Nov 27, 2024

I am so sorry that my visual studio is community 2022. It can not be downgraded. @bahricanyesil

@bahricanyesil
Copy link

There is one more solution:
firebase/flutterfire#16536 (comment)

You may try by uninstalling and installing again.

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