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

Use ProvideSettingsManifest to specify Unfied Settings registration file #72429

Merged
merged 14 commits into from
Mar 13, 2024

Conversation

Cosifne
Copy link
Member

@Cosifne Cosifne commented Mar 7, 2024

Verified locally works on my machine.
This is the recommended way to specify settings for package.
Another blocking issue: Looks like integration tests need to be run in 17.10 image. Image has been updated

@Cosifne Cosifne force-pushed the dev/shech/UnifiedSettings3 branch from bb04561 to 7ce82c9 Compare March 8, 2024 20:34
@Cosifne Cosifne force-pushed the dev/shech/UnifiedSettings3 branch from 7ce82c9 to 022ed06 Compare March 8, 2024 20:38
@@ -18,6 +18,7 @@
</PropertyGroup>
<ItemGroup>
<Content Update=".vsextension/string-resources.json" XlfPreserveFileName="true" />
<Content Include="UnifiedSettings/csharpSettings.registration.json" IncludeInVSIX="true" CopyToOutputDirectory="PreserveNewest" />
Copy link
Member Author

Choose a reason for hiding this comment

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

Move the registration file to this project, seem more reasonable to me because let it stays with the package

@Cosifne Cosifne requested a review from a team as a code owner March 11, 2024 18:00
@Cosifne Cosifne mentioned this pull request Mar 12, 2024
@Cosifne
Copy link
Member Author

Cosifne commented Mar 12, 2024

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@@ -192,3 +192,10 @@
"Package"="{13C3BBB4-F18F-4111-9F54-A0FB010D9194}"
"SortPriority"=dword:00000064
@="Microsoft Visual C#"

// CacheTag value should be changed when registration file changes
Copy link
Member

Choose a reason for hiding this comment

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

Is it autogenerated? Or does it have to be manually updated each time we add / change / remove a setting?

Manual updating seems problematic

Copy link
Member Author

Choose a reason for hiding this comment

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

It needs to be manually updated. But I think from the doc it only affects F5 deployment/Testing.

I learned from @JoshuaBStevens that there is a way to config this to be auto-genereated (There is a VS side PR sample to do this, but it is using internal tasks)
So either, 1. Investigate how to do this publicly. 2. Later when all things are moved to gladstone this could also be auto-generated.

All of these look like another work.

Copy link
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

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

Approved pending comment on settings file to update the pkgdef and long term plan to automatically update the cachetag

@Cosifne Cosifne merged commit 900a62a into dotnet:main Mar 13, 2024
30 checks passed
@Cosifne Cosifne deleted the dev/shech/UnifiedSettings3 branch March 13, 2024 05:23
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 13, 2024
@RikkiGibson RikkiGibson modified the milestones: Next, 17.10 P3 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure 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