Skip to content

Update Nice3point.TUnit.Revit#54

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

Update Nice3point.TUnit.Revit#54
Nice3point wants to merge 1 commit intodevelopfrom
renovate/nice3point.tunit.revit

Conversation

@Nice3point
Copy link
Owner

@Nice3point Nice3point commented Mar 22, 2026

This PR contains the following updates:

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

Release Notes

Nice3point/RevitUnit (Nice3point.TUnit.Revit)

v2027.0.0-preview.4.20260322

Compare Source

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

Localization support

TUnit 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., TestsConfiguration.cs):

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

    <!-- Revit Environment Configuration -->
    <ItemGroup>
        <AssemblyAttribute Include="Nice3point.Revit.Injector.Attributes.RevitLanguageAttribute">
            <_Parameter1>ENG</_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>

Enhancements

  • Fix ExecutionContext to capture AsyncLocal values like TestContext
  • Add new samples

Full changelog: Nice3point/RevitUnit@2027.0.0-preview.3.20260322...2027.0.0-preview.4.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 22, 2026
Copilot AI review requested due to automatic review settings March 22, 2026 12:56
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 the centrally-managed NuGet package versions for Nice3point.TUnit.Revit across supported Revit versions, aligning the repo’s test/runtime dependencies with the latest preview releases from Nice3point/RevitUnit.

Changes:

  • Bump Nice3point.TUnit.Revit pinned versions for Revit 2021–2027 from preview.2.20260203 to preview.3.20260322.
  • Keep conditional pinning based on $(RevitVersion) in Directory.Packages.props.

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

<PackageVersion Update="Nice3point.TUnit.Revit" Version="2026.1.0-preview.3.20260322" Condition="$(RevitVersion) == '2026'"/>
<PackageVersion Update="Nice3point.TUnit.Revit" Version="2027.0.0-preview.3.20260322" Condition="$(RevitVersion) == '2027'"/>

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

Copilot AI Mar 22, 2026

Choose a reason for hiding this comment

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

The comment <!-- TUnit pinned versions --> appears again above the Nice3point.BenchmarkDotNet.Revit pinned versions. This is misleading; consider renaming the second comment to reflect BenchmarkDotNet (or the correct section name) to avoid confusion when updating versions later.

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

Copilot uses AI. Check for mistakes.
@Nice3point Nice3point force-pushed the renovate/nice3point.tunit.revit branch from 134ecf0 to 3d21e64 Compare March 23, 2026 02:27
@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