-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds unified settings with migration (#9108)
* Add Settings for project system * Was missing semicolon in strings.... * Strings reflect current guidelines, don't copy settings file to output * Rename filePrefix/folderPrefix to _xaml.. because the test only covers xaml files, fix package content test * Update tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Setup/SwrTests.cs Co-authored-by: Melissa Treviño <[email protected]> * Ignore settings manifest file in CommonFiles test * Remove settings file from packaging tests --------- Co-authored-by: Melissa Treviño <[email protected]>
- Loading branch information
Showing
21 changed files
with
1,019 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 111 additions & 0 deletions
111
setup/ProjectSystemSetup/UnifiedSettings/ManagedProjectSystem.registration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"properties": { | ||
"projectsAndSolutions.sdkStyleProjects.fastUpToDateCheck.enabled": { | ||
"type": "boolean", | ||
"title": "@Setting_FastUpToDateCheck_Enabled_Title;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"default": true, | ||
"requiresRestart": false, | ||
"migration": { | ||
"pass": { | ||
"input": { | ||
"store": "SettingsManager", | ||
"path": "ManagedProjectSystem\\FastUpToDateCheckEnabled" | ||
} | ||
} | ||
} | ||
}, | ||
"projectsAndSolutions.sdkStyleProjects.fastUpToDateCheck.loggingLevel": { | ||
"type": "string", | ||
"title": "@Setting_FastUpToDateCheck_LoggingLevel_Title;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"default": "none", | ||
"enum": [ | ||
"none", | ||
"minimal", | ||
"info", | ||
"verbose" | ||
], | ||
"enumItemLabels": [ | ||
"@Setting_FastUpToDateCheck_LoggingLevel_None;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"@Setting_FastUpToDateCheck_LoggingLevel_Minimal;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"@Setting_FastUpToDateCheck_LoggingLevel_Info;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"@Setting_FastUpToDateCheck_LoggingLevel_Verbose;{860A27C0-B665-47F3-BC12-637E16A1050A}" | ||
], | ||
"requiresRestart": false, | ||
"migration": { | ||
"enumIntegerToString": { | ||
"input": { | ||
"store": "SettingsManager", | ||
"path": "ManagedProjectSystem\\FastUpToDateLogLevel" | ||
}, | ||
"map": [ | ||
{ | ||
"result": "none", | ||
"match": 0 | ||
}, | ||
{ | ||
"result": "minimal", | ||
"match": 1 | ||
}, | ||
{ | ||
"result": "info", | ||
"match": 2 | ||
}, | ||
{ | ||
"result": "verbose", | ||
"match": 3 | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"projectsAndSolutions.sdkStyleProjects.fileNestingSettings.ignoreSolutionAndProjectSettings": { | ||
"type": "boolean", | ||
"title": "@Setting_FileNesting_IgnoreSolutionAndProjectSettings_Title;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"default": false, | ||
"requiresRestart": false, | ||
"migration": { | ||
"pass": { | ||
"input": { | ||
"store": "SettingsManager", | ||
"path": "Cps.NestingIgnoreSolutionAndProjectProfiles" | ||
} | ||
} | ||
} | ||
}, | ||
"projectsAndSolutions.sdkStyleProjects.multiTargetingSettings.preferSingleTargetBuilds": { | ||
"type": "boolean", | ||
"title": "@Setting_FileNesting_PreferSingleTargetBuilds_Title;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"description": "@Setting_FileNesting_PreferSingleTargetBuilds_Description;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"default": false, | ||
"requiresRestart": false, | ||
"migration": { | ||
"pass": { | ||
"input": { | ||
"store": "SettingsManager", | ||
"path": "ManagedProjectSystem\\PreferSingleTargetBuilds" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
"categories": { | ||
"projectsAndSolutions.sdkStyleProjects": { | ||
"title": "@Settings_Category_SdkStyleProjects;{860A27C0-B665-47F3-BC12-637E16A1050A}" | ||
}, | ||
"projectsAndSolutions.sdkStyleProjects.fastUpToDateCheck": { | ||
"title": "@Settings_Category_FastUpToDateCheck;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"order": 1, | ||
"additionalKeywords": [ "futd", "up-to-date", "build" ] | ||
}, | ||
"projectsAndSolutions.sdkStyleProjects.fileNestingSettings": { | ||
"title": "@Settings_Category_FileNestingSettings;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"order": 2 | ||
}, | ||
"projectsAndSolutions.sdkStyleProjects.multiTargetingSettings": { | ||
"title": "@Settings_Category_MultiTargetingSettings;{860A27C0-B665-47F3-BC12-637E16A1050A}", | ||
"order": 3, | ||
"additionalKeywords": [ "build" ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/xlf/VSPackage.cs.xlf
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/xlf/VSPackage.de.xlf
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.