Skip to content

Commit ee24d7b

Browse files
authored
NuGet.org should be the default feed for NativeAOT 7.0 ILCompiler package (#2221)
1 parent 5ef855a commit ee24d7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchain.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public class NativeAotToolchain : Toolchain
1414
.ToToolchain();
1515

1616
/// <summary>
17-
/// compiled as net7.0, targets latest NativeAOT build from the .NET 7 feed: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json
17+
/// compiled as net7.0, targets latest NativeAOT build from the NuGet.org feed
1818
/// </summary>
1919
public static readonly IToolchain Net70 = CreateBuilder()
20-
.UseNuGet("", "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json")
20+
.UseNuGet("", "https://api.nuget.org/v3/index.json")
2121
.TargetFrameworkMoniker("net7.0")
2222
.ToToolchain();
2323

src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchainBuilder.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public class NativeAotToolchainBuilder : CustomDotNetCliToolchainBuilder
2626
/// Based on https://github.com/dotnet/runtimelab/blob/d0a37893a67c125f9b0cd8671846ff7d867df241/samples/HelloWorld/README.md#add-corert-to-your-project
2727
/// </summary>
2828
/// <param name="microsoftDotNetILCompilerVersion">the version of Microsoft.DotNet.ILCompiler which should be used. The default is empty which maps to latest version.</param>
29-
/// <param name="nuGetFeedUrl">url to NuGet feed, The default is: "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json"</param>
29+
/// <param name="nuGetFeedUrl">url to NuGet feed, The default is: "https://api.nuget.org/v3/index.json"</param>
3030
[PublicAPI]
31-
public NativeAotToolchainBuilder UseNuGet(string microsoftDotNetILCompilerVersion = "", string nuGetFeedUrl = "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json")
31+
public NativeAotToolchainBuilder UseNuGet(string microsoftDotNetILCompilerVersion = "", string nuGetFeedUrl = "https://api.nuget.org/v3/index.json")
3232
{
3333
ilCompilerVersion = microsoftDotNetILCompilerVersion;
3434

0 commit comments

Comments
 (0)