Skip to content

Commit 600e6d6

Browse files
authored
Merge branch 'main' into ChangeSlnToSolutionWithAlias
2 parents 48553c1 + bc6f36f commit 600e6d6

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/SdkContentTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ private void RemoveExcludedAssemblyVersionPaths(Dictionary<string, Version?> sbS
9898
{
9999
string assemblyPath = sbSdkFileArray[i];
100100
Version? sbVersion = sbSdkAssemblyVersions[assemblyPath];
101-
Version? msftVersion = msftSdkAssemblyVersions[assemblyPath];
101+
if (!msftSdkAssemblyVersions.TryGetValue(assemblyPath, out Version? msftVersion))
102+
{
103+
sbSdkAssemblyVersions.Remove(assemblyPath);
104+
continue;
105+
}
102106

103107
if (sbVersion is not null &&
104108
msftVersion is not null &&
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
From 3e953b23493f51d58d20b154e4fb13e8a144168a Mon Sep 17 00:00:00 2001
2+
From: Jan Krivanek <[email protected]>
3+
Date: Tue, 8 Oct 2024 08:08:29 +0200
4+
Subject: [PATCH] Remove BuildXL feed
5+
6+
Backport: https://github.com/dotnet/msbuild/pull/10765
7+
8+
---
9+
NuGet.config | 1 -
10+
1 file changed, 1 deletion(-)
11+
12+
diff --git a/NuGet.config b/NuGet.config
13+
index 17cb1b80c05..659ab421680 100644
14+
--- a/NuGet.config
15+
+++ b/NuGet.config
16+
@@ -18,7 +18,6 @@
17+
<add key="dotnet8" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet8/nuget/v3/index.json" />
18+
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
19+
<add key="dotnet9" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet9/nuget/v3/index.json" />
20+
- <add key="BuildXL" value="https://pkgs.dev.azure.com/ms/BuildXL/_packaging/BuildXL/nuget/v3/index.json" />
21+
<add key="msbuild17.12" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-95c7bf01-1/nuget/v3/index.json" />
22+
</packageSources>
23+
<disabledPackageSources>

0 commit comments

Comments
 (0)