From 3aa42ff6af521342a4ea91517e5299e9935966b2 Mon Sep 17 00:00:00 2001 From: Milos Kotlar Date: Thu, 20 Jul 2023 23:47:27 +0200 Subject: [PATCH] Retrieve version from an assembly in intermediate directory --- src/scenarios/mauiblazorios/pre.py | 4 ++-- src/scenarios/mauiios/pre.py | 4 ++-- src/scenarios/xamarinios/pre.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/scenarios/mauiblazorios/pre.py b/src/scenarios/mauiblazorios/pre.py index 38ba650897a..ab781a42ade 100644 --- a/src/scenarios/mauiblazorios/pre.py +++ b/src/scenarios/mauiblazorios/pre.py @@ -72,8 +72,8 @@ remove_aab_files(output_dir) # Copy the MauiVersion to a file so we have it on the machine -maui_version = get_version_from_dll_powershell_ios(rf"./{const.APPDIR}/obj/Release/{precommands.framework}/ios-arm64/ipa/Payload/{EXENAME}.app/Microsoft.Maui.dll") +maui_version = get_version_from_dll_powershell_ios(rf"./{const.APPDIR}/obj/Release/net8.0-ios/ios-arm64/linked/Microsoft.Maui.dll") version_dict = { "mauiVersion": maui_version } versions_write_json(version_dict, rf"{output_dir}/versions.json") -print(f"Versions: {version_dict} from location " + rf"./{const.APPDIR}/obj/Release/{precommands.framework}/ios-arm64/ipa/Payload/{EXENAME}.app/Microsoft.Maui.dll") +print(f"Versions: {version_dict} from location " + rf"./{const.APPDIR}/obj/Release/net8.0-ios/ios-arm64/linked/Microsoft.Maui.dll") diff --git a/src/scenarios/mauiios/pre.py b/src/scenarios/mauiios/pre.py index fce66fe9bb1..7e85e2aa116 100644 --- a/src/scenarios/mauiios/pre.py +++ b/src/scenarios/mauiios/pre.py @@ -35,7 +35,7 @@ remove_aab_files(output_dir) # Copy the MauiVersion to a file so we have it on the machine -maui_version = get_version_from_dll_powershell_ios(rf"./{const.APPDIR}/obj/Release/{precommands.framework}/ios-arm64/ipa/Payload/{EXENAME}.app/Microsoft.Maui.dll") +maui_version = get_version_from_dll_powershell_ios(rf"./{const.APPDIR}/obj/Release/net8.0-ios/ios-arm64/linked/Microsoft.Maui.dll") version_dict = { "mauiVersion": maui_version } versions_write_json(version_dict, rf"{output_dir}/versions.json") -print(f"Versions: {version_dict} from location " + rf"./{const.APPDIR}/obj/Release/{precommands.framework}/ios-arm64/ipa/Payload/{EXENAME}.app/Microsoft.Maui.dll") +print(f"Versions: {version_dict} from location " + rf"./{const.APPDIR}/obj/Release/net8.0-ios/ios-arm64/linked/Microsoft.Maui.dll") diff --git a/src/scenarios/xamarinios/pre.py b/src/scenarios/xamarinios/pre.py index 147a967913f..4efc24aee4d 100644 --- a/src/scenarios/xamarinios/pre.py +++ b/src/scenarios/xamarinios/pre.py @@ -35,7 +35,7 @@ remove_aab_files(output_dir) # Copy the XamarinVersion to a file so we have it on the machine -xamarin_version = get_version_from_dll_powershell_ios(rf"./{const.APPDIR}/obj/Release/{precommands.framework}/ios-arm64/ipa/Payload/{EXENAME}.app/Microsoft.iOS.dll") +xamarin_version = get_version_from_dll_powershell_ios(rf"./{const.APPDIR}/obj/Release/net8.0-ios/ios-arm64/linked/Microsoft.iOS.dll") version_dict = { "xamarinVersion": xamarin_version } versions_write_json(version_dict, rf"{output_dir}/versions.json") -print(f"Versions: {version_dict} from location " + rf"./{const.APPDIR}/obj/Release/{precommands.framework}/ios-arm64/ipa/Payload/{EXENAME}.app/Microsoft.iOS.dll") +print(f"Versions: {version_dict} from location " + rf"./{const.APPDIR}/obj/Release/net8.0-ios/ios-arm64/linked/Microsoft.iOS.dll")