-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Milestone
Description
Description
Everything works with umlauts if they are in the same project but if they are in a different project then it constantly produces errors on run:
Unhandled exception. System.TypeLoadException: Could not load type 'Dummy.Umlautä' from assembly 'Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Reproduction Steps
I made a repo demonstrating this issue: https://github.com/MarkusRodler/r2r-umlauts-issue
In essence:
- Create a new project
- Enable R2R
<PublishReadyToRun>true</PublishReadyToRun> - Create a shared project and reference it
- Create a class in the shared project containing umlauts
public record Umlautä(); - Instantiate the class in the projects
Program.cs - Publish it succesfully
- Run it with errors
Expected behavior
No TypeLoadException errors on run.
Actual behavior
TypeLoadException errors on run
Regression?
No response
Known Workarounds
No response
Configuration
.NET 6
alpine-x64
Other information
No response
FRK-8C, quixoticaxis and dmiltz8com