Trying to get going with Connect SDK and not having much luck:
First was getting missing .netfx toolset error, found the thread about .Net 4.6 needing to be installed, so I did, but that didn't create the netfx folder, so i modified the VCVarsQueryRegistry2017.mki file to look at 4.6.2 but now I'm getting:
BMAKE: Error - ToolSet version 14.16.XXX is required (version found=14.15.26726)
Can anyone help?
Hi Viktor,
unfortunatley because your provided not many information, it's hard to guess what can be wrong.
Please read and follow this forum best practices, namely specify exactly what MicroStation and MicroStation version do you use, and also using what Windows.
Viktor_Kulik said:so i modified the VCVarsQueryRegistry2017.mki
If you have to modify anything in .mki, something is likely wrong.
Viktor_Kulik said:Can anyone help?
No until you provide more information:
You should also create and analyze verbose output (build example using verbose option) and also attach it to this discussion as crucial source of information.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Jan,
My mistake, been reading many posts and and forgot to include all the details.
Microstation Connect
SDK Update 12, filename: mssdk10120043en_updt12.msi
I was editing the mki file as per your suggestion in another thread since I didn't have .net 4.6 installed and the .mki file is pointing to it explicitly.
Have you tried building the examples delivered with the SDK?
BuildAllExamples
Jan Šlegr said:If you have to modify anything in .mki, something is likely wrong
Absolutely correct! Revert that .mki file to its orginal state. Don't edit any other .mki file. The only files you should edit are your own bmake files having a .mke extension.
.mki
.mke
Regards, Jon Summers LA Solutions
Alright, reinstalled SDK, confirmed the mki file is reverted. Openned SDK Command prompt as an administrator and ran BUILDALLEXAMPLES, it returns as:
BMAKE: Error - Cannot find the .Net tools location for this toolset. VS2017_DotNetToolsDir was not defined, and registry lookup failed.
For all the examples. I have VS2017 Community Edition installed with all the latest updates.
FWIW I have a similar installation to yours. There are some options you must select when installing Viz Studio, which I mention here.
Thanks Jon,
I confirmed that I have all those items installed, I don't think Web Development is needed, but I installed it either way just to match your setup. Still no luck, and still the same error:
Did you check:
Jan Šlegr said:there can be more and as was discovered, when original 4.6 is missing and only 4.6.2 is installed
I have installed 4.6 - 4.6.1 - 4.6.2 and no problems with VS2017_DotNetToolsDir
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |
Well, I did install 4.6 Framework... but for some reason it doesn't come with SDK, so the folder here:
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin
Only has the 4.6.1 and 4.6.2 SDK, can't seem to find how and where to get the 4.6 SDK. Any help would be appreciated.
Just checked Visual Studio 2017 Installer. HTH;
My install matches this exactly, but I still don't have the 4.6 tools. Is there no way to get the examples to build with 4.6.1/4.6.2?
Another question, if I put the examples aside, am I going to need 4.6 tools in order to compile a .net API Connect app?