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

Mark source gen as shipping #8025

Merged
merged 2 commits into from
Jan 4, 2023
Merged

Conversation

davidwengier
Copy link
Member

The latest build has the source gen as the only DLL missing symbols, and I think letting it be marked as a shipping should fix that. And it does ship in the VSIX after all.

Hopefully this can't break anything else 🤷‍♂️

@davidwengier davidwengier requested a review from a team as a code owner December 14, 2022 11:25
@davidwengier
Copy link
Member Author

@chsienki Do you know of anything this could break? Does it warrant a validation build (though they won't publish symbols, so won't validiate my changes per se)?

@chsienki
Copy link
Member

I think it should be ok, because nothing directly relies on this package. The SDK consumes it from the transport so it shouldn't make any difference.

That being said, if we just need symbols for this can we not just turn them on, rather than making this a shipping package? What diff do you see in the binlog between IsShipping=true vs false?

@davidwengier
Copy link
Member Author

A fair question, let me dig in to the arcade bits and see what I can see about more finely tuning things.

@davidwengier
Copy link
Member Author

Okay, looks like IsShippingAssembly should affect only symbol publishing (and xliff tasks but there aren't any xlf files in this project)

@davidwengier
Copy link
Member Author

Forgot to answer this:

What diff do you see in the binlog between IsShipping=true vs false?

Symbol publishing is what is affected by this, but symbols don't get published for builds from non-release branches, so we can't actually test this fully without merging :)

Best we can do is merge, and revert if something goes wrong.

@davidwengier
Copy link
Member Author

davidwengier commented Jan 4, 2023

@chsienki if you're back for a review, hopefully this might finally fix #6239

Copy link
Member

@chsienki chsienki left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the digging.

@davidwengier davidwengier merged commit 6911cfd into dotnet:main Jan 4, 2023
@davidwengier davidwengier deleted the ShipSourceGen branch January 4, 2023 08:24
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