Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fiseni
Copy link
Owner

@fiseni fiseni commented Oct 3, 2025

Fixes #29

I'm in doubt whether this is a good idea or not, but I have no other solution. There is no way we can use arbitrary names for a task in UsingTask and make it unique per version.

@fiseni fiseni requested a review from Copilot October 3, 2025 19:22
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

Introduce version-specific MSBuild task class name to allow coexistence of multiple NuSeal versions in the same build environment. Key change is renaming ValidateLicenseTask to ValidateLicenseTask_0_4_0 and updating asset generation, tests, and task registration accordingly.

  • Rename public task class to a versioned identifier
  • Update assets/task registration and tests to reference the new versioned task name
  • Minor cleanup of unused usings

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/NuSeal.Tests/ValidateLicenseTaskTests_0_4_0.cs Renames test class and task usages to versioned name
tests/NuSeal.Tests/GlobalUsings.cs Removes unused using and reorders Xunit using
tests/NuSeal.Tests/GenerateConsumerAssetsTaskTests.cs Updates MSBuild XML task references to versioned task name
tests/NuSeal.Tests/AssetsTests.cs Updates MSBuild XML task references to versioned task name
src/NuSeal/Tasks/ValidateLicenseTask_0_4_0.cs Renames public task class and adjusts log message
src/NuSeal/Tasks/GenerateConsumerAssetsTask.cs Removes an unused using
src/NuSeal/Assets.cs Updates TASK_NAME constant to versioned task class

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@fiseni fiseni merged commit 1b73dd3 into main Oct 3, 2025
1 check passed
@fiseni fiseni deleted the multiple-nuseal-versions branch October 3, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle environments with multiple NuSeal versions

1 participant