diff --git a/dotnet/targets/Xamarin.Shared.Sdk.targets b/dotnet/targets/Xamarin.Shared.Sdk.targets
index 37a4fe423f1b..f7329f9b6ba1 100644
--- a/dotnet/targets/Xamarin.Shared.Sdk.targets
+++ b/dotnet/targets/Xamarin.Shared.Sdk.targets
@@ -424,6 +424,9 @@
<_AssemblyPublishInputs Include="@(_AssemblyPublishDirectories -> '%(Identity)/**')" />
+
+
+
@@ -814,11 +815,17 @@ Copyright (C) 2018 Microsoft. All rights reserved.
-
-
+
+
+
+
+
+
+
+
@@ -836,6 +843,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
_BeforeCoreCompileImageAssets;
_ReadCompileImageAssets;
_CoreCompileImageAssets;
+ _PostCompileImageAssets;
@@ -938,10 +946,16 @@ Copyright (C) 2018 Microsoft. All rights reserved.
+
+
+
+
+
+
+
-
@@ -958,6 +972,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
_BeforeCoreCompileSceneKitAssets;
_ReadCoreCompileSceneKitAssets;
_CoreCompileSceneKitAssets;
+ _PostCompileSceneKitAssets;
@@ -1024,10 +1039,16 @@ Copyright (C) 2018 Microsoft. All rights reserved.
+
+
+
+
+
+
+
-
@@ -1041,6 +1062,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
_BeforeCoreCompileColladaAssets;
_ReadCoreCompileColladaAssets;
_CoreCompileColladaAssets;
+ _PostCompileColladaAssets;
@@ -1107,10 +1129,16 @@ Copyright (C) 2018 Microsoft. All rights reserved.
+
+
+
+
+
+
+
-
@@ -1181,6 +1209,18 @@ Copyright (C) 2018 Microsoft. All rights reserved.
<_CompiledEntitlementsPath Condition="'$(_CompiledEntitlementsPath)' == ''">$(DeviceSpecificIntermediateOutputPath)Entitlements.xcent
<_SaveProcessedItems Condition="'$(RuntimeIdentifiers)' != '' And '$(UsingAppleNETSdk)' == 'true'">true
+
+
+
+ <_ProcessedPaths Include="$(_ProcessedBundleResourcesPath)" />
+ <_ProcessedPaths Include="$(_ProcessedContentPath)" />
+ <_ProcessedPaths Include="$(_ProcessedImageAssetsPath)" />
+ <_ProcessedPaths Include="$(_ProcessedInterfaceDefinitionsPath)" />
+ <_ProcessedPaths Include="$(_ProcessedSceneKitAssetsPath)" />
+ <_ProcessedPaths Include="$(_ProcessedColladaAssetsPath)" />
+ <_ProcessedPaths Include="$(_ProcessedTextureAtlasesPath)" />
+ <_ProcessedPaths Include="$(_ProcessedCoreMLModelsPath)" />
+
@@ -1233,6 +1273,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
_BeforeCompileTextureAtlases;
_ReadCoreCompileTextureAtlases;
_CoreCompileTextureAtlases;
+ _PostCompileTextureAtlases;
@@ -1296,10 +1337,16 @@ Copyright (C) 2018 Microsoft. All rights reserved.
+
+
+
+
+
+
+
-
@@ -1391,10 +1438,16 @@ Copyright (C) 2018 Microsoft. All rights reserved.
+
+
+
+
+
+
+
-
diff --git a/tools/devops/automation/scripts/System.psm1 b/tools/devops/automation/scripts/System.psm1
index 5b67f2f7a4f2..d9bad3e0258c 100644
--- a/tools/devops/automation/scripts/System.psm1
+++ b/tools/devops/automation/scripts/System.psm1
@@ -251,7 +251,7 @@ function Assert-HDFreeSpace {
Write-Host ""
- $stepUrl = "$Env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI$Env:SYSTEM_TEAMPROJECT/results?buildId=$Env:BUILD_BUILDID&view=logs&j=$Env:SYSTEM_JOBIDENTIFIER&t=$Env:SYSTEM_TASKINSTANCEID"
+ $stepUrl = "$Env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI$Env:SYSTEM_TEAMPROJECT/_build/results?buildId=$Env:BUILD_BUILDID&view=logs&j=$Env:SYSTEM_JOBID&t=$Env:SYSTEM_TASKINSTANCEID"
$workItemTitle = "[CI] Bot '$Env:AGENT_MACHINENAME' out of disk space"
$workItemMessage = @"
The bot $Env:AGENT_MACHINENAME does not have enough hard disk space left.
diff --git a/tools/devops/automation/scripts/bash/build-nugets.sh b/tools/devops/automation/scripts/bash/build-nugets.sh
index 8f469722b4dd..b133aa2da864 100755
--- a/tools/devops/automation/scripts/bash/build-nugets.sh
+++ b/tools/devops/automation/scripts/bash/build-nugets.sh
@@ -10,8 +10,8 @@ cd "$XAM_TOP"
DOTNET_NUPKG_DIR=$(make -C tools/devops print-abspath-variable VARIABLE=DOTNET_NUPKG_DIR | grep "^DOTNET_NUPKG_DIR=" | sed -e 's/^DOTNET_NUPKG_DIR=//')
+rm -rf ../package/
mkdir -p ../package/
-rm -f ../package/*.nupkg
cp -c "$DOTNET_NUPKG_DIR"/*.nupkg ../package/
cp -c "$DOTNET_NUPKG_DIR"/vs-workload.props ../package/
cp -c dotnet/Workloads/SignList.xml ../package/
diff --git a/tools/devops/automation/scripts/bash/clean-bot.sh b/tools/devops/automation/scripts/bash/clean-bot.sh
index c48e4d5895f7..07e0adc41bb7 100755
--- a/tools/devops/automation/scripts/bash/clean-bot.sh
+++ b/tools/devops/automation/scripts/bash/clean-bot.sh
@@ -14,11 +14,27 @@ set +e
# Clean workspace
(
- REPO_PATH="SYSTEM_DEFAULTWORKINGDIRECTORY/$(basename "$BUILD_REPOSITORY_NAME")"
- if test -d "$REPO_PATH"; then
- cd "$REPO_PATH"
- git clean -xfd
- fi
+ for repo in "$SYSTEM_DEFAULTWORKINGDIRECTORY"/.git "$SYSTEM_DEFAULTWORKINGDIRECTORY"/*/.git; do
+ if test -d "$repo"; then
+ cd "$repo"
+ cd ..
+ echo "Running 'git clean' (for all submodules too) in $(pwd)"
+ git clean -xffd | sed 's/^/ /' || true
+ git submodule foreach --recursive git clean -xffd | sed 's/^/ /' || true
+ else
+ echo "$repo is not a git repository"
+ fi
+ done
+
+ echo "Cleaning packages directory:"
+ rm -rv "$SYSTEM_DEFAULTWORKINGDIRECTORY/packages" | sed 's/^/ /' || true
+
+ echo "Contents of SYSTEM_DEFAULTWORKINGDIRECTORY ($SYSTEM_DEFAULTWORKINGDIRECTORY):"
+ # shellcheck disable=SC2012
+ ls -la "$SYSTEM_DEFAULTWORKINGDIRECTORY" | sed 's/^/ /' || true
+ echo "Contents of BUILD_SOURCESDIRECTORY ($BUILD_SOURCESDIRECTORY):"
+ # shellcheck disable=SC2012
+ ls -la "$BUILD_SOURCESDIRECTORY" | sed 's/^/ /' || true
)
# Delete all the simulator devices. These can take up a lot of space over time (I've seen 100+GB on the bots)