Conversation
- 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.
…OM_TYPE_DESCRIPTOR)
There was a problem hiding this comment.
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.
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2212-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1043-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1111-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1304-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1323-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1433-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1538-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1543-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1553-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1612-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1624-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1738-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1743-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1829-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip |
|
📦 New public release are available for 6.0.0.26032+2040 |
|
📦 New public release are available for 6.0.0.26032+2040 |
Description
Creation of 2027 project and migration to NET10