简体   繁体   English

IncrediBuild - 错误:字符串的第一个字符应为“0”或“1”

[英]IncrediBuild - Error: First character of string should be '0' or '1'

Update: This issue is in a C++ (non-cli) project.更新:此问题在 C++(非 cli)项目中。 Unfortunately, there is no error info other than what was presented to me via the IDE.不幸的是,除了通过 IDE 提供给我的信息外,没有其他错误信息。 I was required to upgrade my IDE from VS2017 to VS2019;我需要将我的 IDE 从 VS2017 升级到 VS2019; when importing a project from VS2017 everything was fine until I tried to do a build.从 VS2017 导入项目时,一切都很好,直到我尝试进行构建。 I received the following error/build failure from IncrediBuild:我从 IncrediBuild 收到以下错误/构建失败:

   Microsoft Visual Studio 2019 Version 16.6.0.
   Copyright (C) Microsoft Corp. All rights reserved.
   1>------ Build started: Project: XXXXX, Configuration: Debug x64 ------
   1>First character of string should be '0' or '1'.
   1>Error: First character of string should be '0' or '1'.
   ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I've never encountered a build error like this and have searched for an answer and not found one.我从来没有遇到过这样的构建错误,并且已经搜索过答案但没有找到。 Any help would be greatly appreciated.任何帮助将不胜感激。

This can also be fixed by forcing IncrediBuild to use MSBuild.这也可以通过强制 IncrediBuild 使用 MSBuild 来解决。 You can do this by adding a registry key in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Xoreax\IncrediBuild\Builder called UseMSBuild and setting it to 1.为此,您可以在Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Xoreax\IncrediBuild\Builder中添加一个名为UseMSBuild的注册表项并将其设置为 1。

Likewise.同样地。 You can upgrade to incredibuild9_45.您可以升级到 incredibuild9_45。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM