Skip to content

REVIT-249324/249325/249329: Migrate DynamoRevit to .NET 10 (Revit 2025)#3307

Open
Fusneica-FlorentinCristian wants to merge 4 commits intoRevit2025from
fusneif/REVIT-249324/REVIT-249325/REVIT-249329/d4r-2025-net10
Open

REVIT-249324/249325/249329: Migrate DynamoRevit to .NET 10 (Revit 2025)#3307
Fusneica-FlorentinCristian wants to merge 4 commits intoRevit2025from
fusneif/REVIT-249324/REVIT-249325/REVIT-249329/d4r-2025-net10

Conversation

@Fusneica-FlorentinCristian
Copy link
Copy Markdown
Collaborator

Summary

Migrates DynamoRevit to .NET 10 targeting Revit 2025.5.

Commits

REVIT-249329: Extract icons from .resx for .NET 10 compatibility

  • Extracted all embedded System.Drawing.Bitmap icons from .resx files into separate .png files
  • Updated .resx files to use ResXFileRef pointing to the extracted PNGs
  • Updated DynamoRevitIcons.csproj: removed System.Resources.Extensions NuGet package, removed GetReferenceAssemblyPaths for .NETFramework, Version=v4.8, removed References="...System.Drawing.dll" from GenerateResource tasks

REVIT-249324: Update versioning, config, solution & projects for .NET 10

  • Added global.json with SDK 10.0.0 (rollForward: minor)
  • Bumped .version to 0.5.47, updated CHANGELOG.md
  • Added src/Config/packages_versions.props with pinned package versions and DCoreLibSubFolder/GregRevitAuthLibSubFolder properties
  • Updated CS_SDK.props: added NET100 to Platforms, added net10.0-windows TargetFramework condition, imported packages_versions.props
  • Updated packages.aget: removed System.Resources.Extensions
  • Updated user_local.props: added net10.0 REVITAPI fallback path
  • Added NET100 solution configurations to DynamoRevit.All.sln for all projects
  • Updated DynamoRevit.csproj: added EnableDynamicLoading, updated Greg/GregRevitAuth hint paths to use $(GregRevitAuthLibSubFolder), added Copy dll target using package path properties

REVIT-249325: Update CI/pipelines for NET10

  • Updated src/restorepackages.bat: changed -framework NET80-framework NET100

Notes

  • ⚠️ DynamoVisualProgramming.* NuGet packages are not updated — they are not yet released for .NET 10. DCoreLibSubFolder remains net8.0 for NET100 builds until packages are published.

- CS_SDK.props: add NET100 TargetFramework (net10.0-windows),
  DCoreLibSubFolder (net10.0), REVITAPI net8.0 fallback (RevitAPI 25.x
  ships net8.0 only), updated output path format to bin\Platform\Config\Revit,
  added NoWarn for CLS compliance, fixed last REVITAPI fallback to Revit 2025.
  Keeps NET70/NET80 platforms intact (additive change).
- packages.aget: bump DynamoVisualProgramming packages to 3.3.2.11866
  (net10.0-compatible build). Remove System.Resources.Extensions (not
  needed with net10 bcl).
- DynamoRevit.All.sln: add Debug|NET100 and Release|NET100 platform
  configurations for all projects (additive alongside NET80).
- restorepackages.bat: update aget -framework from NET80 to NET100.
@Fusneica-FlorentinCristian Fusneica-FlorentinCristian force-pushed the fusneif/REVIT-249324/REVIT-249325/REVIT-249329/d4r-2025-net10 branch from 28e81f1 to 7765583 Compare April 7, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant