diff --git a/nukebuild/ApiDiffHelper.cs b/nukebuild/ApiDiffHelper.cs index 30d7532193..2eabc3ef16 100644 --- a/nukebuild/ApiDiffHelper.cs +++ b/nukebuild/ApiDiffHelper.cs @@ -72,8 +72,8 @@ public static class ApiDiffHelper await Task.WhenAll(pairs.Select(p => Task.Run(() => { - var baselineApi = p.baseline + ".api.cs"; - var targetApi = p.target + ".api.cs"; + var baselineApi = p.baseline + Random.Shared.Next() + ".api.cs"; + var targetApi = p.target + Random.Shared.Next() + ".api.cs"; var resultDiff = p.target + ".api.diff.cs"; GenerateApiListing(apiDiffTool, p.baseline, baselineApi, tempFolder); diff --git a/nukebuild/_build.csproj b/nukebuild/_build.csproj index 8a1d7069b8..dd1103db7c 100644 --- a/nukebuild/_build.csproj +++ b/nukebuild/_build.csproj @@ -25,8 +25,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - + +