xmake-io / xmake

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

xmake project -k vsxmake 生成 vs 工程打开报错 #624

Closed 316064780 closed 4 years ago

316064780 commented 4 years ago

Note: If you use the fuzzy expressions such as 'can't use/no effect/problem/error', but don't give any relevant auxiliary information according to the template below, this issue will be not replied.

Describe the bug

在vsxode 中使用 xmake project -k vsxmake 命令创建 Vs工程后,在Vs2010 环境中打开时报错

Expected behavior

生成的 VS10 工程正常打开并能调试运行

Error output

The imported project "D:\Microsoft.Cpp.Default.props" was not found.
Confirm that the path in the declaration is correct, and that the file exists on disk.
C:\Program Files\xmake\plugins\project\vsxmake\vsproj\Xmake.props

Related Environment

configure { arch = x86 ccache = true plat = windows ld = link.exe mode = debug ndk_stdcxx = true host = windows buildir = build kind = static theme = plain vs = 2010 cxx = cl.exe }

Additional context

Add any other context about the problem here.

waruqi commented 4 years ago

这个不是xmake-vscode的问题,我迁移过来了,你可以打包提供下你这生成的 vs工程作为issues附件,发来看看

OpportunityLiu commented 4 years ago

求你们装个新版吧。。实在不想维护这么旧的版本了

316064780 commented 4 years ago

test-c.txt 这是一个 .7z 的压缩包,由于上传限制,手动改成 .txt 了。

另外 旧的版本是指的是 Vs2010 么,那你们通常用的那个版本,我换一下;

OpportunityLiu commented 4 years ago

我这里只装了2019

316064780 commented 4 years ago

2019 32 位系统能装不?

OpportunityLiu commented 4 years ago

vs从来没出过64位版本