Releases: Nice3point/RevitTemplates
6.1.2
- Fix bundle Contents folder name lookup-foundation/RevitLookup#360
Full changelog: 6.1.1...6.1.2
6.1.1
6.1.0
SDK
- Upgraded target frameworks to .NET 10.0.
- Fixed targets execution sequence to avoid conflicts with Microsoft.NET.Sdk.
Templates
- Migrated build system to
ModularPipelinesv3. This major upgrade has a lot of improvements, better summary output, and refactored module logic. - Added support for semantic version handling in the Installer.
- Added support for solution testing configuration #118.
- Added support for template name forms, allowing illegal characters for project name #117.
- Enhanced Installer with support a new Revit 2027 installation path.
- Added
JetBrains.Annotationspackage references to solution templates with private assets. - Updated
ModularPipelinesto 3.1.6. - Updated
TUnitto 1.12.111. - Updated
WixSharpto 2.12.1. - Updated
Sourcy.DotNetto 1.1.1. - Updated
Polyfillto 9.8.0.
Full changelog: 6.0.2...6.1.0
6.0.2
SDK
- Added support for Revit 2027.
- Fixed Visual Studio launch profile support.
- Updated
Polyfillto 9.7.0.
Solution template
- Updated
Sourcy.DotNetto 1.0.0. - Updated assertions in
CreateBundleModule.
Revit Test (TUnit) template
- Updated
TUnitto 1.9.81. - Added
EnableTUnitPolyfillsproperty.
Full changelog: 6.0.1...6.0.2
6.0.1
Minor fixes.
Solution template
- Improved package conditional directives.
- Updated build commands in documentation.
SDK
- Updated Nuget repository URL.
Full changelog: 6.0.0...6.0.1
6.0.0
Global changes
- New
Nice3point.Revit.Sdkfor project configuration and development. - New templates:
Revit BenchmarkandRevit Test (TUnit). - Replaced
NukewithModularPipelinesbuild system. Nuke is no longer maintained: https://github.com/nuke-build/nuke/discussions/1564#discussioncomment-15001502 - Integrated
GitVersion.Toolfor automatic release versioning based on Git history. - Integrated automatic changelog generation via GitHub API.
Solution template
- Migrated to
ModularPipelines. - Support for WIX4 and .NET Core installer project.
- Updated GitHub Actions and Azure DevOps pipelines to support new versioning and publishing logic.
- Removed
Nukerelated files and configurations. - Support for .NET 10.
Note
The solution .slnx format is broken in Rider and VS and temporary disabled until it will be fixed.
Use .sln instead and convert to .slnx using or .NET CLI after creating the project.
Note
The Rider Create .git repository option is broken and overrides .gitignore files.
Uncheck this option and initialize git after creating the project.
Add-in templates
- Switched to
Nice3point.Revit.Sdk. Boilerplate code in.csprojhas been significantly reduced. - Improved Dependency Injection support.
- C# 14 features support.
- New
LaunchRevitproperty for easier debugging. - New
DeployAddinproperty (renamed fromDeployRevitAddin).
MSBuild SDK for Revit Add-ins
- New
Nice3point.Revit.Sdkwith pre-configured MSBuild targets and props.
An updated .csproj looks like this:
<Project Sdk="Nice3point.Revit.Sdk/6.0.0">
<PropertyGroup>
<DeployAddin>true</DeployAddin>
<LaunchRevit>true</LaunchRevit>
<IsRepackable>false</IsRepackable>
<EnableDynamicLoading>true</EnableDynamicLoading>
<Configurations>Debug.R22;Debug.R23;Debug.R24;Debug.R25;Debug.R26</Configurations>
<Configurations>$(Configurations);Release.R22;Release.R23;Release.R24;Release.R25;Release.R26</Configurations>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
</ItemGroup>
</Project>No complex settings, frameworks and versions configuration, SDK takes care of it.
Migration from v5 to v6
Solution migration
- Delete
.nukefolder andbuildfolder. - Delete
installerfolder. - Create a temporary project using version 6.0.0 and copy the new
build,installerfolders to your solution. - Update
global.jsonto use .NET 10. - Replace your
.github/workflowsorazure-pipelines.ymlwith the new versions from the template.
Project migration
- Update the
Sdkattribute in your.csprojfile toNice3point.Revit.Sdk/6.0.0. - Remove redundant properties from
.csproj:RevitVersion,TargetFramework,RuntimeIdentifier,StartProgram,StartArguments. - Remove conditional
PropertyGroupcontainingRevitVersionandTargetFramework. - Remove
Nice3point.Revit.Build.TasksPackageReference. - Rename
DeployRevitAddintoDeployAddin. - Rename configurations from
Debug R25toDebug.R25(replace space with dot). Names with spaces are not supported by BenchmarkDotNet and Unit test in JetBrains Rider.
Full changelog: 5.0.0...6.0.0
5.0.0
Solution template
- The release publishing pipeline has been completely redesigned. Publishing is now based on tags instead of automatic push to
mainbranch. This is aimed at better control to avoid unexpected situations. Also improved pre-release publishing, and releases from any branch, e.g. it is now possible to release anAlphaversion from thedevelopbranch. See Wiki for more details. - The installer now ignores all
.pdbfiles. - Improved
Readmefile, added all detailed documentation about building and publishing the project.Readmefile is dynamic and depends on the settings specified when creating Solution. - Code coverage with documentation.
- Reworked
.ymlfiles. - Simplified some code.
- Added support for .NET 9.
- Added support for Revit 2026.
- Removed support for Revit 2020. For support, add it manually by guide.
Solution migration from v4 to v5
- Create a completely clean project with the same name based on v5 of the template.
- Copy the following folders and files to your working project with replacement:
buildfolder.installfolder.Readme.mdfile..ymlfiles.
- Review the Git Diff carefully:
- Keep your custom GUIDs and project names.
- Preserve any user-specific customizations.
- Roll back any changes to your business logic.
- Update your solution's dependencies to match v5 requirements.
- Test the build process to ensure everything compiles correctly.
Add-in templates
- Enabled
Nullableby default. - Added
IsRepackableproperty, disabled by default. Read more. - Added
ManifestSettingssection to manifest for enabling dependency isolation, starting with Revit 2026 API. - Added more WPF converters.
- Fixed typos.
- Updated dependencies.
- Added support for Revit 2026.
- Removed support for Revit 2020.
Add-in migration from v4 to v5
-
Update your
.csprojfile:<!-- Replace this line --> <PublishAddinFiles>true</PublishAddinFiles> <!-- With these lines --> <DeployRevitAddin>true</DeployRevitAddin> <EnableDynamicLoading>true</EnableDynamicLoading>
-
Update your
.addinfile by adding theManifestSettingsto enable add-in isolation in the Revit 2026:<RevitAddIns> <!-- ... existing settings ... --> <ManifestSettings> <UseRevitContext>False</UseRevitContext> <ContextName>RevitAddIn</ContextName> </ManifestSettings> </RevitAddIns>
-
Review and update any nullable reference types in your code as they are now enabled by default.
Full changelog: 4.0.7...5.0.0
4.0.7
- Moved commands from the Module template.
Please keep the commands in the Primary project that contains External Application to avoid isolation issues.
Issue: Nice3point/RevitToolkit#7 - Removed WindowsController class to simplify templates
- Updated descriptions
Full changelog: 4.0.6...4.0.7
4.0.6
- Conditions for generating the Solution readme. The documentation considers which options you have created the solution with
- Replaced
GetServicewithGetRequiredServicefor DI templates - Renamed some default files that use DI
- Updated summary
Full changelog: 4.0.5...4.0.6
4.0.5
- Updated dependencies
- Removed dependencies conditions with https://github.com/Nice3point/RevitToolkit/releases/tag/2025.0.1 latest changes integration
- Updated samples .csproj
Full changelog: 4.0.4...4.0.5