This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MicroStation CONNECT Edition SDK Update 16.1

November 17, 2021

The MicroStation SDK team is pleased to announce the release of the MicroStation CONNECT Edition SDK Update 16.1 (U16.1).

The most recent release provides several enhancements in the following areas:

Executive Summary
  • Microsoft Visual Studio 2019 Professional (or better) is the default toolset requirement 
  • Recompile MDL applications when toolset requirements have changed
  • Incremental updates: APIs, Documentation, Examples, eula.pdf
Keep Current
Requirements

MicroStation CONNECT Edition SDK native (C/C++) and managed code (.NET add ins) development requires:

Bentley Visual Studio Templates

Microsoft Visual Studio Configuration Recommendations

Visual Studio - Workload Dependencies

  • .NET Desktop Development
  • Desktop development with C++ (Provides: DIA SDK)
  • Universal Windows Platform development (Provides: Windows 10 SDK, or Download)

Visual Studio - Installing and Configuring

Visual Studio - Toolset location Changes

Note: Microsoft recommends binding 1 Toolset (version) per 1 Development Shell (environment instance)

Release Notes

This Release

  • The Microsoft Visual Studio version toolset has changed. It is highly recommended to recompile: Native Code and C++/CLI custom applications 
  • Some CHM files are Missing in this release of the SDK and can be obtained and manually installed from here.  

General

  • Modify the Desktop and/or Start Charm/Menu shortcut properties to enable: "Run as Administrator".
  • MicroStation CONNECT Edition SDK releases are generally available within 2 weeks of a respective closely paired MicroStation product release
  • To ensure maximum compatibility and stability of your applications:
    • Recompile custom applications when Microsoft Visual Studio version or Breaking Changes are noted for "This Release".
    • The SDK installer version may differ slightly from the SDK build version. This is cosmetic and either version number is acceptable.
    • Make sure to use the latest MicroStation CONNECT Edition SDK and a (closely) matching MicroStation product version
  • Review Resolved Defects: MicroStation CONNECT Edition Update xx - Resolved Issues
Changes
MicroStation Developer Shell

New

Updated

  • MicroStationDeveloperShell.bat (Add: set BUILD_USING_VS2019=1)

Removed

bin

New

  • SDKVersionInfo.bat (Build Artifact Requirements)

Updated

Removed

Documentation

New

Updated

Removed (Temporarily)

  • Bentley.Exceptions.chm
  • ecobjects.chm
  • ecplugins.chm
  • ecservices.chm

NOTE: The files above are temporarily available in the [Optional] SDKHelp download.

[Optional] SDKHELP files are available (SDKPreviews > Docs > SDKHelp), place within the SDK ..\Documentation folder

  • MicroStationVBA.chm
  • SDKHelp.chm
  • vba_concept.chm
  • VBAOF11.CHM
  • VBLR6.CHM
Examples

New

Updated

  • Updated Policy File Paths - PolicyFile = $(MDLMKI)MicroStationPolicy.mki
  • Updated Visual Studio Project Elements: TargetFrameworkVersion, Project ToolsVersion and CodeAnalysisRuleSetDirectories

Removed

  • Removed Duplicate Assembly Reference Element HintPaths
Include

New

  • bsiexcept\scopedrsc.h
  • bsiexcept\threadlock.h

Updated

  • Constraint2d\Constraint2dCoreAPI.h (Added Dimension Settings: e.g. DistanceLL)
  • DgnGeoCoord\DgnGeoCoord.h (Scope change)
    • From: BENTLEY_GEOCOORD_NAMESPACE, To: BENTLEY_GEOCOORD_PP_NAMESPACE
  • DgnPlatform\Tcb\CustomItemType.h
    • IPickListProvider, GetProviderName, GetProviderSettings, IsValidSettings, GetName, GetDisplayLabel, IsActive, GetStandardValues
  • DgnPlatform\DgnECSymbolProvider.h (ExtractArg)
  • DgnPlatform\DgnPlatform.r.h (displayPlacementPoint)
  • DgnPlatform\DisplayFilter.h (ViewFlag_PlacementPointDisplay)
  • ECObjects\ECExpressions.h
    TOKEN_EqualModify = 90,
    TOKEN_NotEqualModify = 91,
    TOKEN_NotModify = 92,
    TOKEN_ModModify = 93,
    TOKEN_OrElseModify = 94,
    TOKEN_AndAlsoModify = 95,
  • ECObjects\ECSchema.h (Use WStringKey class vs WString to improve performance when used in map)
  • GeoCoord\BaseGeoCoord.h (Scope change)
    • From: BENTLEY_GEOCOORD_NAMESPACE, To: BENTLEY_GEOCOORD_PP_NAMESPACE
  • Mstn\MdlApi\ditemlib.fdf (mdlDialog_listBoxSetHideHeader)
  • Mstn\MdlApi\ListBox.h (SetHideHeader)
  • Mstn\MdlApi\miscilib.fdf(mdlDialog_comboBoxGetPopupState)
  • Mstn\MdlApi\mscell.fdf (mdlCell_cellLibFilesIterate)
  • Mstn\MdlApi\msdialog.fdf (mdlDialog_getThreeStatesIconIds)
  • Mstn\MdlApi\userpref.r.h
    • autoUpdate : 1; // auto update cells
    • autoUpdateDoNotShow : 1; // do not show confirmation message again
  • Mstn\SmartFeature\SmartFeatureAPI.h (CreateSolidNode)
  • Mstn\cmdlist.r.h
    • CMD_CHOOSE_PARAMCELL
    • CMD_CHOOSE_PARAMCELL_TYPE
    • CMD_CHOOSE_PARAMCELL_TYPE_NOCHILDGROUPS
    • CMD_CHOOSE_PARAMCELL_TYPE_CHILDGROUPS
    • CMD_CHOOSE_PARAMCELL_VARIATION
    • CMD_CHOOSE_PARAMCELL_VARIATION_NOCHILDGROUPS
    • CMD_CHOOSE_PARAMCELL_VARIATION_CHILDGROUPS
  • PSolid\PSolidCoreAPI.h (ClashDetectionBetweenTargetAndTool)

Removed

Library
  • Incremental API Updates
MigrationTools
  • No change
mki

New

  • VsDevCmdImport.py

Updated

Removed

Resources