【发布时间】:2018-06-19 15:18:44
【问题描述】:
从他们的网站(链接:https://osquery.readthedocs.io/en/stable/development/windows-provisioning/)为 OsQuery(在我的 Windows 10 VM 上)构建 Windows 环境时,我在必须运行 tools\make-win64-binaries 的阶段遇到 msb1009 错误.bat 命令。运行该命令后,我得到以下结果:
CMakeLists.txt:402 处的 CMake 错误(项目): 运行 MSBuild 命令失败:
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe
获取VCTargetsPath的值:
Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: VCTargetsPath.vcxproj
退出代码:1
-- 配置不完整,出现错误!
另见“C:/Windows/System32/osquery/build/windows10/CMakeFiles/CMakeOutput.log”。
适用于 .NET Framework 的 Microsoft (R) Build Engine 版本 15.7.179.6572
版权所有 (C) 微软公司。保留所有权利。
MSBUILD:错误 MSB1009:项目文件不存在。 开关:osquery.sln
[-] osquery 构建失败。
我一直在尝试使用该命令制作 osquery.sln 文件,并在网上寻找解决方案,但没有任何成功。任何帮助将不胜感激!
提前致谢
编辑:这是运行 tools\make-win64-dev-env.bat 和 tools\make-win64-binaries.bat 的输出 tools\make-win64-dev-env.bat
【问题讨论】:
标签: msbuild windows-10 osquery