Getting the OMF 2026 SDK working after the AutoCAD Architecture and MEP .NET 10 updates

With the AutoCAD Architecture 2026.0.2 and AutoCAD MEP 2026.0.2 updates, a dependency on .NET 10 is introduced. This change affects developers using the OMF 2026 SDK and requires updates to both the AutoCAD environment and the OMF sample configuration.

Before continuing here, install the required product updates — AutoCAD 2026.1.2, AutoCAD Architecture 2026.0.2, and AutoCAD MEP 2026.0.2 — as described in our companion post, AutoCAD Architecture and MEP 2026: .NET 10 update requirements. That post also covers recommendations if you use OMF alongside SDKs for other AutoCAD-based products (Civil 3D, Advance Steel, Plant 3D, etc.). This post picks up from there with the OMF SDK-specific changes.

Update the OMF 2026 SDK sample for .NET 10

After installing AutoCAD Architecture 2026.0.2, AutoCAD MEP 2026.0.2, or a later update, developers using the OMF 2026 SDK need to make a few changes before compiling the managed OmfSprinklerMgd sample.

1. Update Visual Studio

Install Visual Studio 2022 version 17.14 or later.

2. Use the updated AutoCAD managed assembly

Make sure the acdbmgd.dll required by Sample\Sprinkler\OmfSprinklerMgd\Stdafx.h comes from the AutoCAD 2026.1.2 or later .NET 10 update. This ensures that the sample is compiled against the appropriate AutoCAD managed assembly for the updated environment.

3. Change the target framework to .NET 10

Open Sample\Config\Cpp.props and update the TargetFramework property to:

<TargetFramework>net10.0-windows</TargetFramework>

4. Rebuild the sample

Recompile OmfSprinklerMgd. Make sure its project references resolve to the assemblies from the updated AutoCAD installation.

5. Load and test

After the project compiles successfully, load the resulting OmfSprinklerMgd module into AutoCAD Architecture or AutoCAD MEP and test it in the updated environment.

If your application combines OMF with another AutoCAD-based product SDK, also test the application with the latest updates installed for that product.

Developer checklist

For AutoCAD Architecture or AutoCAD MEP with OMF 2026 SDK, confirm that:

  • AutoCAD 2026.1.2 or later is installed.
  • AutoCAD Architecture 2026.0.2 or later and/or AutoCAD MEP 2026.0.2 or later is installed.
  • Visual Studio 2022 17.14 or later is installed.
  • acdbmgd.dll comes from the AutoCAD 2026.1.2 or later .NET 10 update.
  • Sample\Config\Cpp.props targets net10.0-windows.
  • OmfSprinklerMgd has been rebuilt and tested in the updated environment.

If you are using OMF together with another AutoCAD-based product SDK, also install the latest available updates for that product and test your application against the complete updated environment.

Summary

Once the AutoCAD 2026.1.2, AutoCAD Architecture 2026.0.2, and AutoCAD MEP 2026.0.2 updates are installed, the managed OMF sample must be retargeted to net10.0-windows and rebuilt against the updated acdbmgd.dll. Use Visual Studio 2022 17.14 or later to compile it.

Thanks to Vathsalyan Sridharan from the AutoCAD Engineering Team for this contribution.

Comments

One response to “Getting the OMF 2026 SDK working after the AutoCAD Architecture and MEP .NET 10 updates”

  1. shiny624d108e71 Avatar
    shiny624d108e71

    Autodesk is specifically asking developers to report compatibility issues, FNAF Game migration concerns, installation problems, and regressions.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading