Skip to content

Remove obfuscated dlls from Compiler.Test.Resources#82286

Merged
akhera99 merged 3 commits intodotnet:mainfrom
akhera99:obfuscated_test_binaries
Feb 5, 2026
Merged

Remove obfuscated dlls from Compiler.Test.Resources#82286
akhera99 merged 3 commits intodotnet:mainfrom
akhera99:obfuscated_test_binaries

Conversation

@akhera99
Copy link
Copy Markdown
Member

@akhera99 akhera99 commented Feb 4, 2026

Excludes the test resources assembly from signing by setting CertificateName="None" since this is a non-shipping test utility assembl, it does not require signing. Also removes the dlls from the test resources since they're no longer used by any tests.

@akhera99 akhera99 requested a review from a team as a code owner February 4, 2026 19:42
@jaredpar
Copy link
Copy Markdown
Member

jaredpar commented Feb 4, 2026

The references exist, they're just obfuscated 😉

Edit: context emoji's are important

@akhera99 akhera99 force-pushed the obfuscated_test_binaries branch from 3375434 to b2d8ff6 Compare February 4, 2026 20:49
@akhera99 akhera99 requested a review from a team as a code owner February 4, 2026 20:49
@akhera99 akhera99 changed the title Remove obfuscated dlls from Compiler.Test.Resources Exclude test resources assembly from signing Feb 4, 2026
@akhera99 akhera99 changed the title Exclude test resources assembly from signing Remove obfuscated dlls from Compiler.Test.Resources Feb 4, 2026
@akhera99 akhera99 merged commit 21b2d90 into dotnet:main Feb 5, 2026
28 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Feb 5, 2026
@akhera99
Copy link
Copy Markdown
Member Author

akhera99 commented Feb 5, 2026

/backport to release/dev18.0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

Started backporting to release/dev18.0 (link to workflow run)

@akhera99
Copy link
Copy Markdown
Member Author

akhera99 commented Feb 5, 2026

/backport to release/dev17.14

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

Started backporting to release/dev17.14 (link to workflow run)

@akhera99
Copy link
Copy Markdown
Member Author

akhera99 commented Feb 5, 2026

/backport to release/dev17.12

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

Started backporting to release/dev17.12 (link to workflow run)

akhera99 added a commit that referenced this pull request Feb 6, 2026
…#82304)

Backport of #82286 to release/dev18.0

/cc @akhera99

## Customer Impact

## Regression

- [ ] Yes
- [ ] No

[If yes, specify when the regression was introduced. Provide the PR or
commit if known.]

## Testing

[How was the fix verified? How was the issue missed previously? What
tests were added?]

## Risk

[High/Medium/Low. Justify the indication by mentioning how risks were
measured and addressed.]

---------

Co-authored-by: Ankita Khera <ankitakhera@microsoft.com>
akhera99 added a commit that referenced this pull request Feb 6, 2026
#82305)

Backport of #82286 to release/dev17.14

/cc @akhera99

## Customer Impact

## Regression

- [ ] Yes
- [ ] No

[If yes, specify when the regression was introduced. Provide the PR or
commit if known.]

## Testing

[How was the fix verified? How was the issue missed previously? What
tests were added?]

## Risk

[High/Medium/Low. Justify the indication by mentioning how risks were
measured and addressed.]

---------

Co-authored-by: Ankita Khera <ankitakhera@microsoft.com>
@akhera99 akhera99 modified the milestones: Next, 18.5 Feb 24, 2026
akhera99 added a commit to akhera99/roslyn that referenced this pull request Feb 24, 2026
Excludes the test resources assembly from signing by setting
CertificateName="None" since this is a non-shipping test utility
assembl, it does not require signing. Also removes the dlls from the
test resources since they're no longer used by any tests.
@mmitche
Copy link
Copy Markdown
Member

mmitche commented Feb 24, 2026

/backport to release/dev18.3

@github-actions
Copy link
Copy Markdown
Contributor

Started backporting to release/dev18.3 (link to workflow run)

phil-allen-msft pushed a commit that referenced this pull request Feb 25, 2026
…#82524)

Backport of #82286 to release/dev18.3

/cc @mmitche @akhera99

## Customer Impact

## Regression

- [ ] Yes
- [ ] No

[If yes, specify when the regression was introduced. Provide the PR or
commit if known.]

## Testing

[How was the fix verified? How was the issue missed previously? What
tests were added?]

## Risk

[High/Medium/Low. Justify the indication by mentioning how risks were
measured and addressed.]

---------

Co-authored-by: Ankita Khera <ankitakhera@microsoft.com>
Co-authored-by: Ankita Khera <40616383+akhera99@users.noreply.github.com>
jjonescz added a commit to jjonescz/roslyn that referenced this pull request Apr 8, 2026
The scan service rejects the nupkg because it contains embedded
obfuscated DLLs (Obfuscated.dll, Obfuscated2.dll) that trigger
BlockingDetectionFound. Remove the DLLs (no test references them),
add CertificateName=None in Signing.props, and add a
SignCheckExclusionsFile.txt entry to skip post-build validation.

Backport of PR dotnet#82286 (main) / PR dotnet#82306 (dev17.12).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jjonescz added a commit that referenced this pull request Apr 8, 2026
The scan service rejects the nupkg because it contains embedded
obfuscated DLLs (Obfuscated.dll, Obfuscated2.dll) that trigger
BlockingDetectionFound. Remove the DLLs (no test references them),
add CertificateName=None in Signing.props, and add a
SignCheckExclusionsFile.txt entry to skip post-build validation.

Backport of PR #82286 (main) / PR #82306 (dev17.12).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants