Skip to content

add a version property to the inserted component#280

Merged
tmat merged 2 commits intodotnet:masterfrom
brettfo:vsman-version
Jul 13, 2018
Merged

add a version property to the inserted component#280
tmat merged 2 commits intodotnet:masterfrom
brettfo:vsman-version

Conversation

@brettfo
Copy link
Copy Markdown
Member

@brettfo brettfo commented Jun 21, 2018

This is to make other internal tooling better able to handle merge conflicts by adding a version for each inserted component.

The .vsman files used for insertion will be scanned for a info/buildVersion property which will be forwarded into a version property in the config JSON file. See dotnet/fsharp#5226.

<_Args Include="SetupOutputPath=$(VisualStudioSetupInsertionPath)"/>
<_Args Include="ComponentIntermediateOutputPath=$(VisualStudioSetupIntermediateOutputPath)$(_ComponentName)\"/>
<_Args Include="SwixBuildPath=$(NuGetPackageRoot)microbuild.plugins.swixbuild\$(MicroBuildPluginsSwixBuildVersion)\"/>
<_Args Include="ManifestBuildVersion=$(ManifestBuildVersion)" />
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Consumers of the repo toolset will need to specify this value (see dotnet/project-system#3669) and update their toolset reference. The change is such that if only one of these changes (the property or the toolset update) is accepted, then nothing will break, but the .vsman files just won't have the new info/buildVersion property.

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.

Why is this not set directly to VsixVersion?

Copy link
Copy Markdown
Member

@tmat tmat left a comment

Choose a reason for hiding this comment

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

:shipit:

@tmat tmat merged commit 0eaef6c into dotnet:master Jul 13, 2018
@brettfo brettfo deleted the vsman-version branch July 13, 2018 23:33
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