Something probably goes wrong during installation. Buildallexamples fails with this error:
Wed Oct 16 11:18:29 2019, elapsed time: 0:00BMAKE: Error - Cannot find the .Net framework 64-bit version for this toolset. VS2017_FrameworkVersion64 was not defined, and registry lookup failed. FrameworkVer64BMAKE: call trace line: 136, C:\PROGRA~1\Bentley\MICROS~2\mki\VCVarsQueryRegistry2017.mki
The two missing reg keys are:
\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7, "FrameworkVer64"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VC7", "FrameworkDir64"
What am i doing wrong?
Hi Roald,
Roald Tvedt said:What am i doing wrong?
I guess you do nothing wrong. I recommend to search this forum for similar discussions, because I think the issue and workaround were discussed here already.
If I remember right, the problem is that SDK relies on registry records created by some installers (not sure whether it's NET Framework, Visual Studio, MSBuild or something else issue). In recent versions, Microsoft decided to choose different approach, but it has not been reflected in SDK detection mechanism yet. So when you have older computer with a history of different NET 4.x frameworks and Visual Studio installations (because of NET SDKs, MSBuilds etc.), MicroStation SDK will probably work fine, because the records will exists from older installations. But when the installation is new and some older were skipped, the records are missing.
I am sure Robert Hook is able to provide more details.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi Roald Tvedt and Jan,
MicroStation CONNECT Edition Update 12 SDK had a few issues related to the Microsoft Visual Studio 2017 support added. Some of those changes (though not all 100%) to finally address VS2017 and future support (until next huge changes) will make it out in finally in the Update 14 release. Since we are a couple months out from that release and future releases will now be spaced at 6-month intervals...
Given the above, two things:
I will update this response once the MKI files have been added and available for anyone to test/confirm build conditions against.
[20191017-RH: SDKPreviews MKI Files are available for use with MicroStation CONNECT SDKs (Update 12 and Update 13 only).Once Update 14 is available It will be necessary to perform a Full and Complete Clean Install of the next available Commercial Release SDK. Delete all prior files.]
Thank you and HTH,Bob
Answer Verified By: Robert Hook
Thanks a lot, Robert.
Just verifying that I have done a clean installation of mssdk10130048en.msi. Same issues.
Please notify when MKI files are available.
Roald Tvedt said:Please notify when MKI files are available.
They are already I guess, see SDKPreview MKI File link in last Bob's answer.
Regards,
Great. The new mki files really did the trick!
Thank you very much.
Robert Hook said:Since we are a couple months out from that release and future releases will now be spaced at 6-month intervals...
Is this referring to the SDK moving to a 6-month release cycle or MicroStation CONNECT moving to a 6-month release schedule?
Hi Robert Huston,
Both the MicroStation product and SDK are in progress of moving towards a 6 month release cycle.
Bob
Good Afternoon Bob. I appreciate the response!