File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1- // Copyright (c) .NET Foundation and contributors. All rights reserved.
1+ // Copyright (c) .NET Foundation and contributors. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33
44using System ;
Original file line number Diff line number Diff line change 1+ using System ;
2+ using Microsoft . Deployment . DotNet . Releases ;
3+
4+ namespace Microsoft . DotNet . Tools . Bootstrapper ;
5+
6+ internal static class DotNetReleasesHandler
7+ {
8+ internal static Uri [ ] DotNetReleasesIndexFeeds = new Uri [ ]
9+ {
10+ new ( "https://builds.dotnet.microsoft.com/dotnet/release-metadata/releases-index.json" ) ,
11+ new ( "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.1/releases.json" )
12+ } ;
13+
14+ internal static Uri DotNetRelesesMetadataFeed ( string channelVersion ) =>
15+ new ( $ "https://builds.dotnet.microsoft.com/dotnet/release-metadata/{ channelVersion } /releases.json") ;
16+ }
Original file line number Diff line number Diff line change 2222 <ItemGroup >
2323 <PackageReference Include =" Microsoft.VisualStudio.Setup.Configuration.Interop" Version =" $(MicrosoftVisualStudioSetupConfigurationPackageVersion)" />
2424 <PackageReference Include =" NuGet.Versioning" Version =" 6.9.1" />
25+ <PackageReference Include =" Spectre.Console" Version =" 0.49.1" />
2526 <PackageReference Include =" System.CommandLine" Version =" 2.0.0-beta1.20574.7" />
2627 <PackageReference Include =" System.CommandLine.Rendering" Version =" 0.3.0-alpha.20574.7" />
2728 <PackageReference Include =" System.Resources.Extensions" Version =" 8.0.0" />
2829 <ProjectReference Include =" ..\dotnet-core-uninstall\dotnet-core-uninstall.csproj" />
30+ <PackageReference Include =" Microsoft.Deployment.DotNet.Releases" Version =" 1.0.1" />
2931 </ItemGroup >
3032
3133 <ItemGroup >
You can’t perform that action at this time.
0 commit comments