diff --git a/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchain.cs b/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchain.cs index c20cd2e3ca..0beeff9627 100644 --- a/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchain.cs +++ b/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchain.cs @@ -14,10 +14,10 @@ public class NativeAotToolchain : Toolchain .ToToolchain(); /// - /// 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 + /// compiled as net7.0, targets latest NativeAOT build from the NuGet.org feed /// public static readonly IToolchain Net70 = CreateBuilder() - .UseNuGet("", "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json") + .UseNuGet("", "https://api.nuget.org/v3/index.json") .TargetFrameworkMoniker("net7.0") .ToToolchain(); diff --git a/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchainBuilder.cs b/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchainBuilder.cs index f1dc1e220e..4d37882007 100644 --- a/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchainBuilder.cs +++ b/src/BenchmarkDotNet/Toolchains/NativeAot/NativeAotToolchainBuilder.cs @@ -26,9 +26,9 @@ public class NativeAotToolchainBuilder : CustomDotNetCliToolchainBuilder /// Based on https://github.com/dotnet/runtimelab/blob/d0a37893a67c125f9b0cd8671846ff7d867df241/samples/HelloWorld/README.md#add-corert-to-your-project /// /// the version of Microsoft.DotNet.ILCompiler which should be used. The default is empty which maps to latest version. - /// url to NuGet feed, The default is: "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" + /// url to NuGet feed, The default is: "https://api.nuget.org/v3/index.json" [PublicAPI] - public NativeAotToolchainBuilder UseNuGet(string microsoftDotNetILCompilerVersion = "", string nuGetFeedUrl = "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json") + public NativeAotToolchainBuilder UseNuGet(string microsoftDotNetILCompilerVersion = "", string nuGetFeedUrl = "https://api.nuget.org/v3/index.json") { ilCompilerVersion = microsoftDotNetILCompilerVersion;