diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 250bfd2ffad38..44d6d3c30833e 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -14,73 +14,77 @@ - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b + + + https://github.com/dotnet/arcade + dd9dbfedbdb31401bb16bba8366f31bbd382549b https://github.com/microsoft/vstest @@ -202,9 +206,9 @@ https://github.com/dotnet/xharness e9669dc84ecd668d3bbb748758103e23b394ffef - + https://github.com/dotnet/arcade - 7324320f814152b72295946847ca72413507705a + dd9dbfedbdb31401bb16bba8366f31bbd382549b https://dev.azure.com/dnceng/internal/_git/dotnet-optimization diff --git a/eng/Versions.props b/eng/Versions.props index 7330dc99f4715..55b34e750e955 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -53,20 +53,21 @@ 1.0.0-rc.2.21419.17 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 2.5.1-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 - 6.0.0-beta.21460.7 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 2.5.1-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 + 6.0.0-beta.21467.3 6.0.0-preview.1.102 diff --git a/global.json b/global.json index 0cfd182128d92..79641b503fbb1 100644 --- a/global.json +++ b/global.json @@ -12,10 +12,10 @@ "python3": "3.7.1" }, "msbuild-sdks": { - "Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk": "6.0.0-beta.21460.7", - "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21460.7", - "Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.21460.7", - "Microsoft.DotNet.SharedFramework.Sdk": "6.0.0-beta.21460.7", + "Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk": "6.0.0-beta.21467.3", + "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21467.3", + "Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.21467.3", + "Microsoft.DotNet.SharedFramework.Sdk": "6.0.0-beta.21467.3", "Microsoft.Build.NoTargets": "3.1.0", "Microsoft.Build.Traversal": "3.0.23", "Microsoft.NET.Sdk.IL": "6.0.0-rc.1.21415.6" diff --git a/src/installer/pkg/sfx/installers/dotnet-host.proj b/src/installer/pkg/sfx/installers/dotnet-host.proj index 953b0f4f8522f..aba056f06d17c 100644 --- a/src/installer/pkg/sfx/installers/dotnet-host.proj +++ b/src/installer/pkg/sfx/installers/dotnet-host.proj @@ -15,7 +15,7 @@ true sharedhost false - osx_scripts/host + osx_scripts/host The .NET Shared Host. $(MSBuildThisFileDirectory)rpm_scripts/host $(RpmScriptsDirectory)/after_install.sh @@ -78,4 +78,36 @@ + + + <_MacOSIntermediatesPath>$(IntermediateOutputPath)macos/ + + $(_MacOSIntermediatesPath)scripts + + + <_MacOSScript Include="$(MacOSScriptsTemplateDirectory)/*" Destination="$(MacOSScriptsDirectory)/%(FileName)%(Extension)"/> + + + + + <_UnameMachineRegex>$(InstallerTargetArchitecture) + <_UnameMachineRegex Condition="'$(InstallerTargetArchitecture)' == 'arm64'">arm64|aarch64 + <_UnameMachineRegex Condition="'$(InstallerTargetArchitecture)' == 'x64'">amd64|x86_64 + <_MacOSScriptsTemplateProperties>InstallerTargetArchitecture=$(InstallerTargetArchitecture);UnameMachineRegex=$(_UnameMachineRegex) + + + + + + + + + + diff --git a/src/installer/pkg/sfx/installers/dotnet-hostfxr.proj b/src/installer/pkg/sfx/installers/dotnet-hostfxr.proj index 2c5fa5d818886..b9eb792a38fad 100644 --- a/src/installer/pkg/sfx/installers/dotnet-hostfxr.proj +++ b/src/installer/pkg/sfx/installers/dotnet-hostfxr.proj @@ -14,7 +14,6 @@ HostFxrSrc true hostfxr - osx_scripts/hostfxr The .NET HostFxr diff --git a/src/installer/pkg/sfx/installers/host.wxs b/src/installer/pkg/sfx/installers/host.wxs index 773246beb70f1..91ca74c69914f 100644 --- a/src/installer/pkg/sfx/installers/host.wxs +++ b/src/installer/pkg/sfx/installers/host.wxs @@ -5,7 +5,7 @@ - + - + + + + - + + + + + + + + NOT NON_NATIVE_ARCHITECTURE + + + + + - + @@ -47,6 +62,16 @@ + + + + - - + + + + + NON_NATIVE_ARCHITECTURE + + + \ No newline at end of file diff --git a/src/installer/pkg/sfx/installers/osx_scripts/host/postinstall b/src/installer/pkg/sfx/installers/osx_scripts/host/postinstall index 531cb93fd382f..eaee94e279873 100755 --- a/src/installer/pkg/sfx/installers/osx_scripts/host/postinstall +++ b/src/installer/pkg/sfx/installers/osx_scripts/host/postinstall @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. @@ -10,9 +10,21 @@ INSTALL_DESTINATION=$2 # A temporary fix for the permissions issue(s) chmod 755 $INSTALL_DESTINATION/dotnet -# Add the installation directory to the system-wide paths -# But first create the directory if it doesn't exist -mkdir -p /etc/paths.d -echo $INSTALL_DESTINATION | tee /etc/paths.d/dotnet +if [ -e /etc/dotnet/install_location ]; then + # clear out any entries for this architecture if they exist + sed -i old '/^${InstallerTargetArchitecture}=/d' /etc/dotnet/install_location +else + mkdir -p /etc/dotnet +fi + +echo ${InstallerTargetArchitecture}=$INSTALL_DESTINATION | tee -a /etc/dotnet/install_location + +# if we're running on the native architecture +if [[ "$(uname -m)" =~ "${UnameMachineRegex}" ]]; then + # Add the installation directory to the system-wide paths + # But first create the directory if it doesn't exist + mkdir -p /etc/paths.d + echo $INSTALL_DESTINATION | tee /etc/paths.d/dotnet +fi exit 0 diff --git a/src/installer/pkg/sfx/installers/osx_scripts/hostfxr/postinstall b/src/installer/pkg/sfx/installers/osx_scripts/hostfxr/postinstall deleted file mode 100755 index 2d0ceb8278693..0000000000000 --- a/src/installer/pkg/sfx/installers/osx_scripts/hostfxr/postinstall +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# -# Licensed to the .NET Foundation under one or more agreements. -# The .NET Foundation licenses this file to you under the MIT license. -# - -PACKAGE=$1 -INSTALL_DESTINATION=$2 - -# A temporary fix for the permissions issue(s) -chmod 755 $INSTALL_DESTINATION/dotnet - -# Add the installation directory to the system-wide paths -echo $INSTALL_DESTINATION | tee /etc/paths.d/dotnet - -exit 0