Skip to content

Rename preview VSIX to experimental#1178

Merged
DefaultRyan merged 2 commits intomainfrom
user/defaultryan/vsix_experimental
Aug 5, 2021
Merged

Rename preview VSIX to experimental#1178
DefaultRyan merged 2 commits intomainfrom
user/defaultryan/vsix_experimental

Conversation

@DefaultRyan
Copy link
Copy Markdown
Member

This updates the experimental VSIX name to show (Experimental) instead of (Preview), to be consistent with our release channels.

Also, this sets in the metadata to "true" to enable the "Preview" label on the VSIX, as described in the linked article.
https://devblogs.microsoft.com/visualstudio/new-preview-label-for-visual-studio-extensions-2/

Image copied from article with added oval and arrows to highlight difference.
image

Set "Preview" metadata label to "true"
@DefaultRyan
Copy link
Copy Markdown
Member Author

I just now noticed #1177 from Scott. I'll just go ahead and update that here and now.

@DefaultRyan
Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@evelynwu-msft
Copy link
Copy Markdown
Contributor

I just now noticed #1177 from Scott. I'll just go ahead and update that here and now.

Heh, beat me to requesting you do that. :)

@BenJKuhn BenJKuhn self-assigned this Aug 4, 2021
Copy link
Copy Markdown
Contributor

@evelynwu-msft evelynwu-msft left a comment

Choose a reason for hiding this comment

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

:shipit:

<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Microsoft.WindowsAppSDK" Version="|%CurrentProject%;GetVSIXVersion|" Language="en-US" Publisher="Microsoft" />
<Identity Id="Microsoft.ProjectReunion" Version="|%CurrentProject%;GetVSIXVersion|" Language="en-US" Publisher="Microsoft" />
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.

Should the identity differ between experimental and stable/preview builds, so as not to collide?

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.

It already does. See the XmlPoke stuff in the csproj. It detects if EnableExperimentalVSIXFeatures is set, and dynamically updates the Identity, DisplayName, Tags, and (new to this PR) Preview fields in the manifest.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The Identity is modified by the XmlPoke task on line 306 of WindowsAppSDK.Extension.csproj

@DefaultRyan DefaultRyan merged commit 1dc2cca into main Aug 5, 2021
@DefaultRyan DefaultRyan deleted the user/defaultryan/vsix_experimental branch August 5, 2021 00:22
kythant pushed a commit that referenced this pull request Aug 5, 2021
* Rename preview VSIX to experimental

Set "Preview" metadata label to "true"

* Restore original Microsoft.ProjectReunion and Microsoft.ProjectReunion.Preview VSIX identity
kythant added a commit that referenced this pull request Aug 5, 2021
* Rename preview VSIX to experimental

Set "Preview" metadata label to "true"

* Restore original Microsoft.ProjectReunion and Microsoft.ProjectReunion.Preview VSIX identity

Co-authored-by: Ryan Shepherd <ryansh@microsoft.com>
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.

Restore VSIX identity to Microsoft.ProjectReunion for upgrade continuity Re-name Preview VSIX to "Windows App SDK (Experimental)" for 1.0 exp release

3 participants