Skip to content

Commit

Permalink
Introduce Versions.props file to control version of CPS packages
Browse files Browse the repository at this point in the history
This file will be used alongwith built version of project-system in C# dev kit for version upgrades
  • Loading branch information
smitpatel committed Jun 26, 2023
1 parent 44565c3 commit 18ed95b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
1 change: 0 additions & 1 deletion eng/imports/HostAgnostic.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<!-- Infrastructure -->
<!-- Path Property: PkgCodecov -->
<PackageReference Include="Codecov" ExcludeAssets="all" GeneratePathProperty="true" />
<PackageReference Include="MicroBuild.Core.Sentinel" PrivateAssets="all" />
<!-- Path Property: PkgMicrosoft_DiaSymReader_Pdb2Pdb -->
<PackageReference Include="Microsoft.DiaSymReader.Pdb2Pdb" ExcludeAssets="all" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.XliffTasks" PrivateAssets="all" />
Expand Down
16 changes: 9 additions & 7 deletions eng/imports/Packages.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE.md file in the project root for more information. -->
<Project>

<Import Project="Versions.props" />

<ItemGroup>
<!-- Infrastructure -->
<!-- This package is deprecated. CodecovUploader is now the recommended package. -->
Expand Down Expand Up @@ -66,13 +68,13 @@

<!-- CPS -->
<!-- Find versions at https://dev.azure.com/azure-public/vside/_artifacts/feed/vs-impl -->
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem" Version="17.7.294-pre" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.Analyzers" Version="17.7.294-pre" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.Query" Version="17.7.294-pre" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.SDK" Version="17.7.294-pre" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.SDK.Tools" Version="17.7.294-pre" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.VS" Version="17.7.294-pre" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.XamlTypes" Version="17.7.294-pre" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem" Version="$(CPSPackageVersion)" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.Analyzers" Version="$(CPSPackageVersion)" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.Query" Version="$(CPSPackageVersion)" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.SDK" Version="$(CPSPackageVersion)" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.SDK.Tools" Version="$(CPSPackageVersion)" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.VS" Version="$(CPSPackageVersion)" />
<PackageReference Update="Microsoft.VisualStudio.ProjectSystem.XamlTypes" Version="$(CPSPackageVersion)" />

<!-- Roslyn -->
<PackageReference Update="Microsoft.CodeAnalysis" Version="4.7.0-1.final" />
Expand Down
6 changes: 6 additions & 0 deletions eng/imports/Versions.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!-- Any changes to this file or format requires updates in project-system-vscode -->
<Project>
<PropertyGroup>
<CPSPackageVersion>17.7.294-pre</CPSPackageVersion>
</PropertyGroup>
</Project>

0 comments on commit 18ed95b

Please sign in to comment.