Skip to content

Net10 migration for Revit 2027#3040

Merged
jmcouffin merged 13 commits intodevelopfrom
net10-multiagents
Jan 30, 2026
Merged

Net10 migration for Revit 2027#3040
jmcouffin merged 13 commits intodevelopfrom
net10-multiagents

Conversation

@jmcouffin
Copy link
Copy Markdown
Contributor

Description

Creation of 2027 project and migration to NET10

- Replaced Autodesk Revit SDK references with Nice3point.Revit.Api packages in Directory.Build.props.
- Added support for .NET 10.0 for Revit 2027 in Directory.Build.targets and updated the solution file to include the new project.
- Updated server.py to include the Revit 2027 REST service endpoint.
- Updated CodeDependencies.iss to reflect new .NET versions and added procedures for .NET 10.0.
- Modified pyrevit-admin.iss and pyrevit.iss to include .NET 10.0 dependencies during setup.
- Updated the GitHub Actions workflow to include preparation for .NET 10.0 alongside existing .NET versions.
- Introduced conditional property groups in Directory.Build.props to define constants for Revit versions 2013 through 2027.
- Added the Xceed.Wpf.AvalonDock.dll for Revit 2027 to the project.
- Moved Revit version constants from Directory.Build.props to Directory.Build.targets for better organization.
- Ensured all Revit versions from 2013 to 2027 are defined in the new location.
- Enhanced the DefineConstants for Revit versions 2022 to 2027 by adding REVIT2022_OR_GREATER to ensure proper conditional compilation.
- Improved organization and clarity in the build configuration for future Revit version support.
- Included new entry for Autodesk Revit 2027 Preview Release with build details and release notes.
- Updated versioning information to support the latest Revit release.
- Updated multiple binary files for pyRevit, including executables and DLLs.
- Modified runtime configuration JSON files to include support for metadata updater properties.
- Removed DB.ViewType.PresureLossReport as it is no longer available in Revit 2027.
- Added conditional inclusion of PresureLossReport for versions older than Revit 2027 to maintain compatibility.
@jmcouffin jmcouffin requested a review from Copilot January 30, 2026 21:40
@jmcouffin jmcouffin self-assigned this Jan 30, 2026
@jmcouffin jmcouffin added Revit Issues specifically related to Revit not pyRevit [target] DotNet API Issues related to pyRevitLabs libraries [subsystem] labels Jan 30, 2026
@pyrevitlabs pyrevitlabs deleted a comment from devloai bot Jan 30, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for Revit 2027 by migrating the runtime to .NET 10 and making necessary version-specific adjustments throughout the codebase.

Changes:

  • Added .NET 10 dependency installation for Revit 2027+ support
  • Created new 2027 project configuration with net10.0-windows target framework
  • Updated .NET runtime versions (8.0.13→8.0.23, 9.0.6→9.0.12) and added .NET 10.0.2 dependencies
  • Fixed deprecated API usage by conditionally handling PresureLossReport ViewType removal in Revit 2027

Reviewed changes

Copilot reviewed 15 out of 103 changed files in this pull request and generated no comments.

Show a summary per file
File Description
release/pyrevit.iss Added .NET 10 runtime dependencies for Revit 2027+ installer
release/pyrevit-admin.iss Added .NET 10 runtime dependencies for admin installer
release/CodeDependencies.iss Updated .NET 8/9 versions and added .NET 10 installation procedures
pyrevitlib/rpws/server.py Added Revit 2027 server admin REST service endpoint
pyrevitlib/pyrevit/revit/db/query.py Fixed deprecated PresureLossReport ViewType for Revit 2027 compatibility
dev/pyRevitLabs/pyRevitCLIAutoComplete/pyrevit-autocomplete.go Alphabetically sorted command-line flags
dev/pyRevitLabs.PyRevit.Runtime/pyRevitLabs.PyRevit.Runtime.sln Added Revit 2027 project to solution
dev/pyRevitLabs.PyRevit.Runtime/2027/pyRevitLabs.PyRevit.Runtime.2027.csproj Created new project file for Revit 2027 with net10.0-windows target
dev/modules/pyRevitLabs.ironpython2 Updated submodule commit reference
dev/modules/pyRevitLabs.dlr3 Updated submodule commit reference
dev/modules/pyRevitLabs.dlr Updated submodule commit reference
dev/Directory.Build.targets Added net10.0-windows support, Revit version constants, and Xceed.Wpf.AvalonDock reference
dev/Directory.Build.props Switched from Autodesk.Revit.Sdk.Refs to Nice3point.Revit.Api packages
bin/pyrevit.runtimeconfig.json Disabled MetadataUpdater support
bin/pyrevit-hosts.json Added Revit 2027 Preview Release host information
bin/pyrevit-doctor.runtimeconfig.json Disabled MetadataUpdater support
.github/workflows/main.yml Added .NET 10.0.x setup step to CI workflow
.cursor/worktrees.json Added worktree setup configuration file

- Added pipenv caching to the Python setup step in the workflow.
- Consolidated .NET SDK preparation steps for versions 3.1 and 8.0.
- Introduced caching for NuGet packages to improve build efficiency.
- Updated the RevitAddons.cs file to handle new secure locations for Revit 2027+ add-ins.
- Added unit tests for RevitAddons methods to ensure correct path retrieval for different Revit versions.
- Included documentation for adding support for new Revit versions.
… files

- Removed the "System.Reflection.Metadata.MetadataUpdater.IsSupported" property from the runtime configuration files for pyRevit and pyrevit-doctor.
- Updated binary files for pyRevit runtime engines to reflect recent changes.
@jmcouffin jmcouffin merged commit bf2dd3c into develop Jan 30, 2026
@jmcouffin jmcouffin changed the title Net10migration for Revit 2027 Net10 migration for Revit 2027 Jan 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2212-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1043-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1111-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1304-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1323-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1433-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1538-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1543-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1553-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1612-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1624-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1738-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1743-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1829-wip

@jmcouffin jmcouffin deleted the net10-multiagents branch February 1, 2026 19:34
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New public release are available for 6.0.0.26032+2040

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New public release are available for 6.0.0.26032+2040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DotNet API Issues related to pyRevitLabs libraries [subsystem] Revit Issues specifically related to Revit not pyRevit [target]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants