File tree 3 files changed +19
-1
lines changed
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.
2
2
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
4
4
using 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 22
22
<ItemGroup >
23
23
<PackageReference Include =" Microsoft.VisualStudio.Setup.Configuration.Interop" Version =" $(MicrosoftVisualStudioSetupConfigurationPackageVersion)" />
24
24
<PackageReference Include =" NuGet.Versioning" Version =" 6.9.1" />
25
+ <PackageReference Include =" Spectre.Console" Version =" 0.49.1" />
25
26
<PackageReference Include =" System.CommandLine" Version =" 2.0.0-beta1.20574.7" />
26
27
<PackageReference Include =" System.CommandLine.Rendering" Version =" 0.3.0-alpha.20574.7" />
27
28
<PackageReference Include =" System.Resources.Extensions" Version =" 8.0.0" />
28
29
<ProjectReference Include =" ..\dotnet-core-uninstall\dotnet-core-uninstall.csproj" />
30
+ <PackageReference Include =" Microsoft.Deployment.DotNet.Releases" Version =" 1.0.1" />
29
31
</ItemGroup >
30
32
31
33
<ItemGroup >
You can’t perform that action at this time.
0 commit comments