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

调用过config --menu后生成的vs工程无法编译 #4638

Closed
vkensou opened this issue Jan 22, 2024 · 3 comments
Closed

调用过config --menu后生成的vs工程无法编译 #4638

vkensou opened this issue Jan 22, 2024 · 3 comments
Labels
Milestone

Comments

@vkensou
Copy link
Contributor

vkensou commented Jan 22, 2024

Xmake 版本

v2.8.6+HEAD.211710b67

操作系统版本和架构

Windows 10

描述问题

如果一个项目先用xmake config --menu设置过,再用xmake project -k vsxmake生成vs工程,那这个工程就无法编译了,会报错:error : Invalid option: --menu=true

期待的结果

正常编译

工程配置

用xmake模板即可重现:

  1. xmake create -t console
  2. xmake config --menu 点击save退出
  3. xmake project -k vsxmake
  4. 打开vs工程并编译即可重现问题

附加信息和错误日志

EXEC : error : Invalid option: --menu=true

@vkensou vkensou added the bug label Jan 22, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: The vs project generated after calling config --menu cannot be compiled.

waruqi added a commit that referenced this issue Feb 28, 2024
@waruqi waruqi added this to the v2.8.8 milestone Feb 28, 2024
@waruqi
Copy link
Member

waruqi commented Feb 28, 2024

修复了 xmake update -s dev

@waruqi waruqi closed this as completed Feb 28, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Fixed xmake update -s dev

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

3 participants