Skip to content

Update Nice3point.BenchmarkDotNet.Revit#55

Closed
Nice3point wants to merge 1 commit intodevelopfrom
renovate/nice3point.benchmarkdotnet.revit
Closed

Update Nice3point.BenchmarkDotNet.Revit#55
Nice3point wants to merge 1 commit intodevelopfrom
renovate/nice3point.benchmarkdotnet.revit

Conversation

@Nice3point
Copy link
Owner

This PR contains the following updates:

Package Type Update Change
Nice3point.BenchmarkDotNet.Revit nuget patch 2021.1.0-preview.2.202602032021.1.0-preview.3.20260322
Nice3point.BenchmarkDotNet.Revit nuget patch 2022.1.0-preview.2.202602032022.1.0-preview.3.20260322
Nice3point.BenchmarkDotNet.Revit nuget patch 2023.1.0-preview.2.202602032023.1.0-preview.3.20260322
Nice3point.BenchmarkDotNet.Revit nuget patch 2024.1.0-preview.2.202602032024.1.0-preview.3.20260322
Nice3point.BenchmarkDotNet.Revit nuget patch 2025.1.0-preview.2.202602032025.1.0-preview.3.20260322
Nice3point.BenchmarkDotNet.Revit nuget patch 2026.1.0-preview.2.202602032026.1.0-preview.3.20260322
Nice3point.BenchmarkDotNet.Revit nuget patch 2027.0.0-preview.2.202602032027.0.0-preview.3.20260322

Release Notes

Nice3point/RevitBenchmark (Nice3point.BenchmarkDotNet.Revit)

v2027.0.0-preview.3.20260322

This release adds support for Revit 2027, benchmarking for different languages and custom Revit installation path.

Localization support

BenchmarkDotNet initializes Revit with the English - United States language. To override these defaults, use assembly-level attributes:

  • Add the attributes to any .cs file in your project (e.g., Program.cs):

    using Nice3point.Revit.Injector.Attributes;
    
    [assembly: RevitLanguage("ENU")]
  • Add the attributes directly to your .csproj file:

    <!-- Revit Environment Configuration -->
    <ItemGroup>
        <AssemblyAttribute Include="Nice3point.Revit.Injector.Attributes.RevitLanguageAttribute">
            <_Parameter1>ENU</_Parameter1>
        </AssemblyAttribute>
    </ItemGroup>

The RevitLanguage attribute accepts a language name (e.g., "English - United States"), code (e.g., "ENU")
or LanguageType enum value (e.g., "English_GB" or "15").

Custom Revit installation path

TUnit initializes Revit from C:\Program Files\Autodesk\Revit {version} installation path. To override these defaults, use assembly-level attributes:

  • Add the attributes to any .cs file in your project (e.g., TestsConfiguration.cs):

    using Nice3point.Revit.Injector.Attributes;
    
    [assembly: RevitInstallationPath("D:\Autodesk\Revit Preview")]
  • Add the attributes directly to your .csproj file:

    <!-- Revit Environment Configuration -->
    <ItemGroup>
        <AssemblyAttribute Include="Nice3point.Revit.Injector.Attributes.RevitInstallationPathAttribute">
            <_Parameter1>D:\Autodesk\Revit $(RevitVersion)</_Parameter1>
        </AssemblyAttribute>
    </ItemGroup>

Breaking changes

  • Global hooks OnSetup/OnCleanup renamed to OnGlobalSetup/OnGlobalCleanup

Full changelog: Nice3point/RevitBenchmark@2027.0.0-preview.2.20260203...2027.0.0-preview.3.20260322


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@Nice3point Nice3point added the maintenance ⚙️ Some regular maintenance updates label Mar 23, 2026
Copilot AI review requested due to automatic review settings March 23, 2026 02:27
Copy link

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

Updates centrally-managed NuGet versions for Nice3point.BenchmarkDotNet.Revit across Revit 2021–2027, aligning the repo’s benchmark harness with the latest upstream preview packages.

Changes:

  • Bump Nice3point.BenchmarkDotNet.Revit pinned versions for Revit 2021–2027 from *-preview.2.20260203 to *-preview.3.20260322.
  • Keep conditional version pinning per $(RevitVersion) in Directory.Packages.props.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -46,13 +46,13 @@
<PackageVersion Update="Nice3point.TUnit.Revit" Version="2027.0.0-preview.2.20260203" Condition="$(RevitVersion) == '2027'"/>

<!-- TUnit pinned versions -->
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

The XML comment above the Nice3point.BenchmarkDotNet.Revit pinned versions still says "TUnit pinned versions", which is misleading when scanning the file. Update this comment to reflect that the following entries are for BenchmarkDotNet.Revit.

Suggested change
<!-- TUnit pinned versions -->
<!-- BenchmarkDotNet.Revit pinned versions -->

Copilot uses AI. Check for mistakes.
@Nice3point Nice3point closed this Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance ⚙️ Some regular maintenance updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants