[nuget-msi-convert] Support improved VS component IDs (#21438)

Context: b2d3a3a355
Context: https://github.com/xamarin/yaml-templates/pull/339

The VS insertion manifest generation has been updated to use new VS
component IDs required for .NET 9+.

Backport of #21423

---------

Co-authored-by: Peter Collins <pecolli@microsoft.com>
This commit is contained in:
VS MobileTools Engineering Service 2 2024-10-16 05:47:47 -07:00 коммит произвёл GitHub
Родитель a123e460f5
Коммит 9013ae4f83
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -57,6 +57,7 @@ using (TextWriter writer = new StreamWriter (outputPath)) {
var manifestBuildVersion = iOSPlatform.Any () ? iOSPlatform.First ().Item2 : platforms.First ().Item2;
writer.WriteLine ($" <ManifestBuildVersion>{manifestBuildVersion}</ManifestBuildVersion>");
writer.WriteLine ($" <EnableSideBySideManifests>true</EnableSideBySideManifests>");
writer.WriteLine ($" <UseVisualStudioComponentPrefix>true</UseVisualStudioComponentPrefix>");
writer.WriteLine ($" </PropertyGroup>");
writer.WriteLine ($" <ItemGroup>");
writer.WriteLine ($" <!-- Shorten package names to avoid long path caching issues in Visual Studio -->");