Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix assembly name sanitization in code generator #8336

Merged

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Mar 6, 2023

Fixes #7592

Filters out any non-alphanumeric/non-_ character and prefixes assembly names with a _ if they start with a digit.
Verified using @asos-stefanzilik's repo: https://github.com/asos-stefanzilik/BenchmarkOrleansCodeGenIssueRepro

xref #8311 & #7751

@ReubenBond ReubenBond added this to the 7.1.1 milestone Mar 6, 2023
@ReubenBond ReubenBond merged commit aea5366 into dotnet:main Mar 7, 2023
@ReubenBond ReubenBond deleted the fix/codegen-assembly-name-sanitization branch March 7, 2023 23:28
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[4.0] Code Generator sometimes hangs and does not work with Benchmark.NET
1 participant