xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
9.84k stars 774 forks source link

便携版xmake生成的vsxmake项目找不到xmake #5642

Open Domain opened 2 hours ago

Domain commented 2 hours ago

Xmake 版本

v2.9.5+HEAD.d30de52e9

操作系统版本和架构

windows 10

描述问题

使用xmake project -k vsxmake生成的工程,编译时提示找不到xmake.exe,提示的路径里面确实没有xmake.exe

期待的结果

正常编译

工程配置

附加信息和错误日志

C:\Users\admin\AppData\Local\Temp.xmake0\2.9.5+HEAD.d30de52e9\scripts\vsxmake\vsproj\Xmake.targets(85,5): error : xmake.exe not found at 'C:\Users\admin\AppData\Local\Temp.xmake0\2.9.5+HEAD.d30de52e9\', please set XMAKE_PROGRAM_DIR in environments or XmakeProgramDir in vcxproj file

Issues-translate-bot commented 2 hours ago

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


Title: The vsxmake project generated by the portable version of xmake cannot find xmake