From 18ab2069b108c9401c83212ea94d398a7cfe4f77 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Thu, 23 Jun 2022 18:56:58 +0200 Subject: [PATCH] Copy MAUI to bin when SefContained=False This is part of the solution for #7170 --- .../Microsoft.Maui.Sdk/Sdk/BundledVersions.in.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Workload/Microsoft.Maui.Sdk/Sdk/BundledVersions.in.targets b/src/Workload/Microsoft.Maui.Sdk/Sdk/BundledVersions.in.targets index a810a94a32aa..629ff6fd4b3b 100644 --- a/src/Workload/Microsoft.Maui.Sdk/Sdk/BundledVersions.in.targets +++ b/src/Workload/Microsoft.Maui.Sdk/Sdk/BundledVersions.in.targets @@ -9,7 +9,7 @@ <_MauiPlatformName Condition=" '$(TargetPlatformIdentifier)' == 'windows' ">win <_MauiPlatformName Condition=" '$(TargetPlatformIdentifier)' != 'windows' ">$(TargetPlatformIdentifier.ToLowerInvariant()) <_MauiPlatformName Condition=" '$(_MauiPlatformName)' == '' ">any - <_MauiRuntimePackAlwaysCopyLocal Condition=" '$(_MauiPlatformName)' == 'any' ">true + <_MauiRuntimePackAlwaysCopyLocal Condition=" '$(_MauiPlatformName)' == 'any' or '$(SelfContained)' == 'false' ">true @@ -79,4 +79,4 @@ - \ No newline at end of file +