Skip to content

Conversation

@singhashish-wpf
Copy link
Contributor

@singhashish-wpf singhashish-wpf commented Aug 29, 2023

Fixes
Exception thrown in GenerateTemporaryTargetAssembly when project name has GB characters in it
Main PR
None

Description

Bugfix for GB chars, exception thrown when using Load(CurrentProject), when project name has GB characters in it.
Using a filestream instead of using string path to avoid the need to properly compose Uri (which is another way of fixing - but more complicated).

Customer Impact

Users will face build error, when building a project which has GB Characters in the project name.

Regression

None

Testing

Local

Risk

Low

Microsoft Reviewers: Open in CodeFlow

@singhashish-wpf singhashish-wpf requested a review from a team as a code owner August 29, 2023 11:17
@ghost ghost assigned singhashish-wpf Aug 29, 2023
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Aug 29, 2023
@ghost ghost requested a review from dipeshmsft August 29, 2023 11:18
@singhashish-wpf
Copy link
Contributor Author

Sample name for project, that can repro the exception.
CoreWPF_𬴂鿗龵苘爫麤υ㏑䡫.csproj

@miloush
Copy link
Contributor

miloush commented Sep 12, 2023

Please note that using path/url when loading a XML document uses the URL as a base URL for resolving and reading DTDs referenced from the XML file. You lose that by switching to a stream, potentially changing the meaning of the XML content.

That said, I do not expect any csproj files to be using DTD so we are probably OK here.

Copy link
Contributor

@Kuldeep-MS Kuldeep-MS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes Look good to me

@rchauhan18 rchauhan18 merged commit 1210a7b into main Nov 29, 2023
@rchauhan18 rchauhan18 deleted the gbchars branch November 29, 2023 11:36
@github-actions github-actions bot locked and limited conversation to collaborators Dec 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants