chore: Add setting to remove unused files from bin directory on local build#3192
Merged
timcassell merged 1 commit intoJul 9, 2026
Merged
Conversation
timcassell
approved these changes
Jul 9, 2026
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 is the successor to #2737.
On existing implementation,
Custom targets is executed only when using NuGet package (PackageReference).
And it's not works on local build (
ProjectReference)By this PR changes,
BdnFilterPackageAssetstarget is executed on local build also.1. What's changed in this PR
1.1.Add
Directory.Build.targetsfile undersamples/testsdirectory.By this change custom target is loaded on local build.
1.2.Modify
BenchmarkDotNet/BenchmarkDotNet.targetsfileBdnprefix. (To improve searchability in thebinlog)2. Tasks that are not covered in this PR
1. Remove non
arm64platform native dependenciesCurrently Capstone's native dependencies are used for
arm64platform only.So it can remove native dependencies.
2. Remove unused files that generated on temp build directory.
Autogenerated project don't use
BenchmarkDotNet.targets.So custom target is not executed on CsProjGenerator relating toolchain currently.