-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CommunityToolkit/Windows#445 #1
CommunityToolkit/Windows#445 #1
Conversation
@@ -30,4 +30,7 @@ | |||
|
|||
<!-- Sets this up as a toolkit component's source project --> | |||
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" /> | |||
<ItemGroup> | |||
<None Remove="NativeMethods.json" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is redundant
@@ -0,0 +1,3 @@ | |||
{ | |||
"allowMarshaling": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add scheme and preserve sig.
"allowMarshaling": false | |
"$schema": "https://aka.ms/CsWin32.schema.json", | |
"allowMarshaling": false, | |
"comInterop": { | |
"preserveSigMethods": [ | |
"*" | |
] | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only use
RegisterClassEx
DefWindowProc
CreateWindowEx
WM_SETTINGCHANGE
Not a single COM interface gets imported.
So I don't think comInterop.preserveSigMethods is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Contributors may use com interfaces for other things. There's no reason to keep it out. Also add the schema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0x5bfa Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
EOF change in components/Helpers/src/MultiTarget.props may have to be reverted.
@HO-COOH I'm gonna leave this to you. |
Fix CommunityToolkit#445