Skip to content

Conversation

@peterhuene
Copy link
Contributor

@peterhuene peterhuene commented Jun 6, 2019

The resource updater was not specifying a CharSet for the Windows API
P/Invoke signatures and therefore the ANSI versions of the APIs were
being used.

This caused an unhandled exception when customizing the apphost on
Windows when the intermediate apphost path contained Unicode characters
because the ANSI resource updating API couldn't find the file.

Fixes AB#900429.

The resource updater was not specifying a CharSet for the Windows API
P/Invoke signatures and therefore the ANSI versions of the APIs were
being used.

This caused an unhandled exception when customizing the apphost on
Windows when the intermediate apphost path contained Unicode characters
because the ANSI resource updating API couldn't find the file.

Fixes AB#900429.
@peterhuene peterhuene added this to the 3.0.1xx milestone Jun 6, 2019
@peterhuene peterhuene requested a review from a team June 6, 2019 18:53
@peterhuene peterhuene merged commit de72490 into dotnet:master Jun 7, 2019
@peterhuene peterhuene deleted the fix-resource-updater-pinvoke branch June 7, 2019 01:17
wli3 pushed a commit to wli3/core-setup that referenced this pull request Jul 24, 2019
Port dotnet/sdk#3310 by @peterhuene

The resource updater was not specifying a CharSet for the Windows API
P/Invoke signatures and therefore the ANSI versions of the APIs were
being used.

This caused an unhandled exception when customizing the apphost on
Windows when the intermediate apphost path contained Unicode characters
because the ANSI resource updating API couldn't find the file.

Fixes AB#900429.
wli3 pushed a commit to wli3/core-setup that referenced this pull request Jul 25, 2019
Port dotnet/sdk#3310 by @peterhuene

The resource updater was not specifying a CharSet for the Windows API
P/Invoke signatures and therefore the ANSI versions of the APIs were
being used.

This caused an unhandled exception when customizing the apphost on
Windows when the intermediate apphost path contained Unicode characters
because the ANSI resource updating API couldn't find the file.

Fixes AB#900429.
dsplaisted pushed a commit to dsplaisted/sdk that referenced this pull request Feb 19, 2020
…024.2 (dotnet#3310)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19524.2
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Port dotnet/sdk#3310 by @peterhuene

The resource updater was not specifying a CharSet for the Windows API
P/Invoke signatures and therefore the ANSI versions of the APIs were
being used.

This caused an unhandled exception when customizing the apphost on
Windows when the intermediate apphost path contained Unicode characters
because the ANSI resource updating API couldn't find the file.

Fixes ABdotnet/core-setup#900429.


Commit migrated from dotnet/core-setup@0059721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants