[main] Update dependencies from dotnet/arcade (#16432)
[main] Update dependencies from dotnet/arcade - Coherency Updates: - Microsoft.SourceLink.GitHub: from 8.0.0-beta.23218.3 to 8.0.0-beta.23252.2 (parent: Microsoft.DotNet.Arcade.Sdk) - Microsoft.DotNet.XliffTasks: from 1.0.0-beta.23263.1 to 1.0.0-beta.23266.1 (parent: Microsoft.DotNet.Arcade.Sdk) - Remove integrated source build patch
This commit is contained in:
parent
dda516cbd7
commit
804050874c
4 changed files with 13 additions and 44 deletions
|
@ -193,18 +193,18 @@
|
|||
</Dependency>
|
||||
</ProductDependencies>
|
||||
<ToolsetDependencies>
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23265.1">
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23268.1">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
|
||||
<Sha>f4269875971171c278c2cd695e9ef94b6516e4be</Sha>
|
||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="8.0.0-beta.23265.1">
|
||||
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="8.0.0-beta.23268.1">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
|
||||
<Sha>f4269875971171c278c2cd695e9ef94b6516e4be</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="8.0.0-beta.23265.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="8.0.0-beta.23268.1">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
|
||||
<Sha>f4269875971171c278c2cd695e9ef94b6516e4be</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Darc" Version="1.1.0-beta.23226.1">
|
||||
<Uri>https://github.com/dotnet/arcade-services</Uri>
|
||||
|
@ -223,14 +223,14 @@
|
|||
<Sha>fd98754b692a1a8da2aaadd28ce3952578d9d9ad</Sha>
|
||||
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.SourceLink.GitHub" Version="8.0.0-beta.23218.3" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||
<Dependency Name="Microsoft.SourceLink.GitHub" Version="8.0.0-beta.23252.2" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
||||
<Sha>47c52dd2ebf9edfd40abdcff999c13eb461f6ce2</Sha>
|
||||
<Sha>54eb3b811c57f5e94617d31a102fc9cb664ccdd5</Sha>
|
||||
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23263.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23266.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
||||
<Sha>3f7d6c7e742012d9437fcb0d04cac63202d37621</Sha>
|
||||
<Sha>9e7fbcab4e5275f63c0cd37553ba426de9194309</Sha>
|
||||
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
</ToolsetDependencies>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>8.0.0-beta.23265.1</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>8.0.0-beta.23268.1</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Dependency from https://github.com/dotnet/arcade-services -->
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"cmake": "3.21.0"
|
||||
},
|
||||
"msbuild-sdks": {
|
||||
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23265.1",
|
||||
"Microsoft.DotNet.CMake.Sdk": "8.0.0-beta.23265.1"
|
||||
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23268.1",
|
||||
"Microsoft.DotNet.CMake.Sdk": "8.0.0-beta.23268.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: tmat <tomas.matousek@microsoft.com>
|
||||
Date: Fri, 21 Apr 2023 09:02:35 -0700
|
||||
Subject: [PATCH] Workaround for msbuild cache issue
|
||||
|
||||
Backport: https://github.com/dotnet/sourcelink/pull/1008
|
||||
---
|
||||
src/Microsoft.Build.Tasks.Git/RepositoryTask.cs | 10 +++++++++-
|
||||
1 file changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs b/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs
|
||||
index 9647abf..ef838b5 100644
|
||||
--- a/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs
|
||||
+++ b/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs
|
||||
@@ -147,7 +147,15 @@ private string GetCacheKey(string repositoryId)
|
||||
|
||||
private bool TryGetCachedRepositoryInstance(string cacheKey, bool requireCached, [NotNullWhen(true)]out GitRepository? repository)
|
||||
{
|
||||
- var entry = (StrongBox<GitRepository?>)BuildEngine4.GetRegisteredTaskObject(cacheKey, RegisteredTaskObjectLifetime.Build);
|
||||
+ StrongBox<GitRepository?>? entry;
|
||||
+ try
|
||||
+ {
|
||||
+ entry = (StrongBox<GitRepository?>?)BuildEngine4.GetRegisteredTaskObject(cacheKey, RegisteredTaskObjectLifetime.Build);
|
||||
+ }
|
||||
+ catch (InvalidCastException) // workaround for https://github.com/dotnet/msbuild/issues/8478
|
||||
+ {
|
||||
+ entry = null;
|
||||
+ }
|
||||
|
||||
if (entry != null)
|
||||
{
|
Loading…
Reference in a new issue