Skip to content

Commit 3c03170

Browse files
committed
removed OsxArm64 msbuild property workaround, it's not needed anymore
dotnet/sdk#26866
1 parent f2c5a83 commit 3c03170

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Diff for: build/build/Tasks/Package/PackagePrepare.cs

-6
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ private static DirectoryPath PackPrepareNative(BuildContext context, string runt
6262
SelfContained = true
6363
};
6464

65-
// workaround for https://github.com/dotnet/runtime/issues/49508
66-
if (runtime == "osx-arm64")
67-
{
68-
settings.ArgumentCustomization = arg => arg.Append("/p:OsxArm64=true");
69-
}
70-
7165
context.DotNetPublish("./src/GitVersion.App/GitVersion.App.csproj", settings);
7266

7367
return outputPath;

Diff for: src/GitVersion.App/GitVersion.App.csproj

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
<PackageLicenseExpression>MIT</PackageLicenseExpression>
99
</PropertyGroup>
1010

11-
<!-- workaround for https://github.com/dotnet/runtime/issues/49508 -->
12-
<PropertyGroup Condition=" '$(OsxArm64)' == 'true'">
13-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
14-
</PropertyGroup>
15-
1611
<PropertyGroup Condition=" '$(PackAsTool)' == 'true' ">
1712
<ToolCommandName>dotnet-gitversion</ToolCommandName>
1813
<PackageId>GitVersion.Tool</PackageId>

0 commit comments

Comments
 (0)