Skip to content

Conversation

@tmat
Copy link
Member

@tmat tmat commented Jul 20, 2024

Workaround missing dependency publishing feature in the VS SDK.

Introduces the following convention: When a project reference publish outputs (i.e. more than standard build outputs) need to be packaged into a VSIX,
the project should define VsixItemsOutputGroup target and include it in ProjectRefrence.IncludeOutputGroupsInVSIX.

VsixItemsOutputGroup target may gather all the publishing items to be packaged into the VSIX using PublishItemsOutputGroup target,
but should not depend on Publish target (i.e. invoking VsixItemsOutputGroup target should not trigger actual publishing).

A custom target run before CreateVsixContainer will take care of publishing for all ProjectReferences with VsixItemsOutputGroup.

@tmat tmat requested review from a team as code owners July 20, 2024 00:06
@ghost ghost added Area-Interactive untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 20, 2024
@tmat tmat force-pushed the PublishTargets branch from 1bcf17f to 94a6f01 Compare July 23, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Interactive untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants