Repository navigation
Update dependency Nice3point.Revit.Sdk to 6.3.1 - #52
Merged
Merged
Conversation
Nice3point
force-pushed
the
renovate/nice3point.revit.sdk-6.x
branch
from
October 8, 2026 18:34
3731f90 to
5db7836
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.2.3→6.3.1Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
Nice3point/RevitTemplates (Nice3point.Revit.Sdk)
v6.3.1Compare Source
The SDK is cross-platform now.
Templates
.editorconfigrules of the solution:ifstatements have braces, andusingdirectives are sorted the way the IDE sorts them.=:resharper_prefer_wrap_around_eqis set toavoid.SDK
EnableWindowsTargetingoutside Windows, and a project no longer needs to set it.dotnethost.DeployAddinskips the deployment with a message unlessAddinDeployDiris set. The build no longer fails on the missing%AppData%folder.AddinPublishDiris an absolute path.v6.3.0Compare Source
Logging moves to
Microsoft.Extensions.Logging, the code shared by an application and its modules moves to the new service defaults template, and the installer builds from a manifest.In existing projects, update the SDK version and follow the migration guide.
Templates
Microsoft.Extensions.Logging
Add-ins log through
Microsoft.Extensions.Loggingwith source-generatedLoggerMessagemethods. The Serilog packages are no longer referenced.The logging option is available when dependency injection is enabled, and one call registers the providers:
Errorlevel and above are written to the Revit journal through theNice3point.Revit.Loggingprovider. With hosting, theLogging:RevitJournal:LogLevelconfiguration section changes the level.AppDomainexceptions are written to the log with theCriticallevel.Configurationfolder is replaced byLoggingandDiagnostics.Service defaults template
The new
revit-servicedefaultstemplate creates a project for the service configuration that an application and its modules share, on the model of the .NET Aspire service defaults.The template provides logging and diagnostics, and the project is the place for every other shared registration: serialization, HTTP clients, options.
revit-addin-applicationnow creates the entry point alone, and the application host applies the shared defaults with one call:Installer
The installer project moved from the
installfolder toinstallerand builds the MSI packages from a manifest that the build writes.The
.addinmanifests are installed after the assemblies they reference. An interrupted installation no longer registers an add-in whose assemblies are missing.The upgrade code is configured in the
Installersection ofbuild/appsettings.json:The product name of the packages comes from the add-in project.
The packages no longer contain
.pdbfiles.Tests and benchmarks
Nice3point.TUnit.Revit, which runs test hooks on the Revit thread.[HookExecutor<RevitThreadExecutor>]andTestsConfiguration.csare removed.BenchmarkSwitcher. Command-line arguments select the benchmarks to run:dotnet run -c Release.R26 -- --filter '*'.[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)], and the IDE no longer reports the benchmarks as unused.Generated code
.editorconfigand the LF line-ending policy in.gitattributes.Modelsfolder is no longer created.IHostEnvironment.ApplicationNameto the project name.JetBrains.Annotationsare private assets of the generated projects.Build
Every options type declares its configuration section in
ConfigurationSectionName, andProgram.csbinds the options through it.Build modules log through source-generated
LoggerMessagemethods.Build and installer errors state the problem, the cause, and the action that resolves it:
A solution without a bundle and an installer compiles
BuildOptions.A version with a hyphen in the prerelease label keeps the whole label in
VersionSuffix.The release of
1.0.0no longer takes the release notes from the1.0.0-rc.1entry of the changelog.Release assets are uploaded as
application/octet-stream, and the asset files are closed after the upload.The installer step removes the temporary WiX toolset after the build.
The
teststep no longer disables ILRepack.Samples
ServiceDefaultsproject, and serializes through a source-generated context.Dependencies
SDK
bindirectory keeps the original assemblies for the projects that reference the add-in, such as a test project.PublishAddinorDeployAddinis enabled.Breaking changes
Microsoft.Extensions.Logging.revit-addin-applicationno longer has the logging option. Logging comes from arevit-servicedefaultsproject.installtoinstaller, and the upgrade code moved tobuild/appsettings.json.RevitThreadExecutor.PublishAddinorDeployAddin.Migration guide
Add-in
Delete the
Configurationfolder from the add-in project.Create a temporary project with version 6.3.0 and the same options, and copy the
LoggingandDiagnosticsfolders to the add-in project.Replace the Serilog registration in
Host.cs:Remove the
Serilog,Serilog.Sinks.Debug, andSerilog.Extensions.Hostingpackage references.With hosting, Serilog was a provider of
Microsoft.Extensions.Logging, and the classes already receiveILogger<T>. With the container option, replace the injectedSerilog.ILoggerwithILogger<T>:Solution
Delete the
installfolder andbuild/Modules/CreateInstallerModule.cs.Create a temporary solution with version 6.3.0, and copy the
installerfolder,build/Modules/CreateInstallerModule.cs, andbuild/Options/InstallerOptions.csto the solution.Replace the
installproject withinstaller/Installer.csprojin the solution file.Register the options in
build/Program.cs:Add the
Installersection tobuild/appsettings.json, and setUpgradeCodeto the GUID thatinstall/Installer.cspassed toProject.GUID. A new GUID makes the next release install side by side with the previous one.Tests
Update
Nice3point.TUnit.Revitto the latest version.Delete
TestsConfiguration.csand remove the executor from the test hooks:SDK
A project that repacks its assemblies enables
PublishAddinorDeployAddin:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.