Skip to content

Remove ExactSpelling = true in DllImport attributes - #309

Merged
JimBobSquarePants merged 1 commit into
SixLabors:mainfrom
0xced:fix-upw-net-native
Nov 24, 2022
Merged

Remove ExactSpelling = true in DllImport attributes#309
JimBobSquarePants merged 1 commit into
SixLabors:mainfrom
0xced:fix-upw-net-native

Conversation

@0xced

@0xced 0xced commented Nov 24, 2022

Copy link
Copy Markdown
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

This doesn't change anything on the macOS side but fixes crash at startup for UWP apps compiled with the .NET Native tool chain.

Hat tip @MichalStrehovsky.

Fixes #306

This doesn't change anything on the macOS side but fixes crash at startup for UWP apps compiled with the .NET Native tool chain.

Hat tip @MichalStrehovsky.

Fixes SixLabors#306
@codecov

codecov Bot commented Nov 24, 2022

Copy link
Copy Markdown

Codecov Report

Merging #309 (a07db4d) into main (380b668) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #309   +/-   ##
=====================================
  Coverage     83%     83%           
=====================================
  Files        224     224           
  Lines      12299   12299           
  Branches    1788    1788           
=====================================
  Hits       10279   10279           
  Misses      1600    1600           
  Partials     420     420           
Flag Coverage Δ
unittests 83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JimBobSquarePants JimBobSquarePants added this to the 1.0.0-rc1 milestone Nov 24, 2022

@JimBobSquarePants JimBobSquarePants left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this. Much appreciated!

@JimBobSquarePants
JimBobSquarePants merged commit 8a8d588 into SixLabors:main Nov 24, 2022
@0xced
0xced deleted the fix-upw-net-native branch November 24, 2022 13:45
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.

Recent commit "Enumerate available fonts through the native API on macOS" breaks UWP native build.

2 participants