Installing SDK CE U12 issues.

TRying to build the SDK examples: They all fail to build. Pleas look ar the extract from the log file:

BMAKE: Error - Cannot find the .Net tools location for this toolset. VS2017_DotNetToolsDir was not defined, and registry lookup failed.

BMAKE: call trace
    line:   96, C:\PROGRA~1\Bentley\MICROS~2\mki\VCVarsQueryRegistry2017.mki
    line:  960, C:\PROGRA~1\Bentley\MICROS~2\mki\AssertToolSet.mki
    line:  114, C:\PROGRA~1\Bentley\MICROS~2\mki\ConfigurePolicy.mki
    line:   26, C:\PROGRA~1\Bentley\MICROS~2\mki\mdl.mki
    line:   17, C:\PROGRA~1\Bentley\MICROS~2\examples\ANNOTA~1\DESCRI~1\DESCRI~1.MKE

Anyone,please?

Installed SW:

MicroStation CE U12 10.12.0.40

MicroStation CE SDK 10.12.00.043

Visual Studio Prof. version 15.9.28307.858

Parents
  • Hi,

    did you try to search this forum for similar discussions (e.g. for VS2017_DotNetToolsDir term)? Similar issue - U12 SDK examples cannot be compiled - were discussed several times recently.

    If it's possible, I recommend to move to Update 13.1 and SDK Update 13, where I guess some changes were implemented into mki files to better support VS2017 in situation when older versions were not installed (so registry does not contain some older records used in the past). When it's not possible, search this forum for similar issues and try whether mki files modification will help you.

    And of course check what registry record is evaluated in VCVarsQueryRegistry2017.mki and whether this record exists (and with what value). It will help to investigate wht is wrong.

    With regards,

      Jan

Reply
  • Hi,

    did you try to search this forum for similar discussions (e.g. for VS2017_DotNetToolsDir term)? Similar issue - U12 SDK examples cannot be compiled - were discussed several times recently.

    If it's possible, I recommend to move to Update 13.1 and SDK Update 13, where I guess some changes were implemented into mki files to better support VS2017 in situation when older versions were not installed (so registry does not contain some older records used in the past). When it's not possible, search this forum for similar issues and try whether mki files modification will help you.

    And of course check what registry record is evaluated in VCVarsQueryRegistry2017.mki and whether this record exists (and with what value). It will help to investigate wht is wrong.

    With regards,

      Jan

Children
No Data