Skip to content
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

Ensure Microsoft.Interop.SourceGeneration ships #74943

Merged
merged 4 commits into from
Sep 2, 2022

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Sep 1, 2022

Fixes: #74944

Also fix the LibraryImportGenerator and JSImportGenerator to package Microsoft.Interop.SourceGeneration correctly (should IsPackable ever be set).

Also fix the LibraryImportGenerator and JSImportGenerator to package
Microsoft.Interop.SourceGeneration correctly (should IsPackable ever be set).
@ghost
Copy link

ghost commented Sep 1, 2022

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Also fix the LibraryImportGenerator and JSImportGenerator to package Microsoft.Interop.SourceGeneration correctly (should IsPackable ever be set).

Author: ericstj
Assignees: ericstj
Labels:

area-System.Runtime.InteropServices

Milestone: -

@radical
Copy link
Member

radical commented Sep 1, 2022

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ericstj ericstj closed this Sep 1, 2022
These are referenced by eng\generators.targets not just the package.
@ericstj ericstj reopened this Sep 1, 2022
@ericstj
Copy link
Member Author

ericstj commented Sep 1, 2022

@AaronRobinsonMSFT - as part of attempting to remove the packaging, I noticed that the package redistributed https://github.com/dotnet/runtime/blob/main/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Microsoft.Interop.LibraryImportGenerator.props. I see we import this in runtime targets. What's the story for end-customers consuming the inbox generator? I didn't see those items added by the SDK targets anywhere: https://github.com/search?q=org%3Adotnet+LibraryImportGenerator_UseMarshalType&type=code

@AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT - as part of attempting to remove the packaging, I noticed that the package redistributed https://github.com/dotnet/runtime/blob/main/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Microsoft.Interop.LibraryImportGenerator.props. I see we import this in runtime targets. What's the story for end-customers consuming the inbox generator? I didn't see those items added by the SDK targets anywhere: https://github.com/search?q=org%3Adotnet+LibraryImportGenerator_UseMarshalType&type=code

@ericstj At present, this is only for our own internal testing and develop needs. No user should ever need these settings. It is possible we will add some in the future but we can handle that when it becomes a user configuration.

@akoeplinger
Copy link
Member

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member

radical commented Sep 2, 2022

/azp run runtime-wasm-perf

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@lewing lewing left a comment

Choose a reason for hiding this comment

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

Feel free to merge before the wasm tests finish

@ericstj
Copy link
Member Author

ericstj commented Sep 2, 2022

Libraries failures are #74952.

@radical - I'm inclined to merge this ASAP since the source interop generators are broken and this will fix it. What coverage are you looking for from those legs? Do you want to wait on them?

@ericstj ericstj merged commit 28a6c07 into dotnet:main Sep 2, 2022
@ericstj
Copy link
Member Author

ericstj commented Sep 2, 2022

Thanks @lewing. I'll be online today - if anyone is seeing more fallout from this or the previous change, please ping me on teams and I'll take a look right away.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
7 participants