System.Windows.Markup.XamlParseException when reading resource file #5004
Merged
System.Windows.Markup.XamlParseException when reading resource file #5004
Conversation
SamBent
approved these changes
Aug 4, 2021
Member
Author
|
The scenario is an application built for .NET 3.1 that is running on a machine with only .NET 6.0 installed. To repro, set the environment variable `DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=2' or add the equivalent setting to the application's runtime.json file: {
"runtimeOptions": {
"tfm": "netcoreapp3.1",
"framework": {
"name": "Microsoft.WindowsDesktop.App",
"version": "3.1.0"
},
"rollForwardOnNoCandidateFx" : 2
}
} |
Member
|
@ryalanms Sorry |
Member
Author
lindexi
added a commit
to dotnet-campus/wpf
that referenced
this pull request
Aug 12, 2021
The Application.ResourceAssembly.CodeBase is the string without escaped. See: - dotnet#4781 - dotnet#5004 - dotnet#4799
lindexi
added a commit
to dotnet-campus/wpf
that referenced
this pull request
Aug 12, 2021
The Application.ResourceAssembly.CodeBase is the string without escaped. See: - dotnet#4781 - dotnet#5004 - dotnet#4799
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The failure looks like an unintended consequence of #4799. The path incorrectly contains the filename of the application assembly. Reverting the change for now, since we are so close to snapping the release candidate for .NET 6.0.
Fixes issue #4987.