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

Skip to content

Conversation

@fiseni
Copy link
Owner

@fiseni fiseni commented Oct 3, 2025

Addresses issue #27

  • No longer we need the protected DLL. All necessary info for validation is contained within the build assets.
  • Removed the PackageReferences and ResolvedCompileFileDefinitions task parameters.
  • Removed the dependency on Mono.Cecil
  • Removed AssemblyUtils. We no longer reading or processing assemblies.

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

This PR removes the dependency on Mono.Cecil and eliminates the need to scan for protected DLLs by updating the validation approach to use build assets instead. The changes simplify the license validation process and reduce external dependencies.

Key changes:

  • Removed Mono.Cecil dependency and assembly processing capabilities
  • Eliminated PackageReferences and ResolvedCompileFileDefinitions task parameters
  • Removed AssemblyUtils class that handled assembly reading

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ValidateLicenseTask.cs Removed task parameters and protected DLL scanning logic
AssemblyUtils.cs Completely removed assembly processing utilities
NuSeal.csproj Removed Mono.Cecil package reference and related build exclusions
Directory.Packages.props Removed Mono.Cecil version specification
Assets.cs Updated generated targets to exclude removed task parameters
ValidateLicenseTaskTests.cs Simplified tests by removing assembly creation and parameter setup
AssemblyUtils_ExtractPemsTests.cs Completely removed test file for deleted functionality
GenerateConsumerAssetsTaskTests.cs Updated expected output to match new task parameters
AssetsTests.cs Updated expected output to match new task parameters
NuSeal.props Removed commented debugging code
NuSeal.Tests.csproj Removed Mono.Cecil test dependency

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

@fiseni fiseni merged commit 93b0215 into main Oct 3, 2025
1 check passed
@fiseni fiseni deleted the remove-mono-cecil branch October 3, 2025 19:06
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.

1 participant