Is there Visual Studio project PropertyGroup condition that can be applied to only Emulators (or Devices)?

dg2k 1,386 Reputation points
2023-06-01T08:33:15.12+00:00

I like the Fast Deployment feature for debugging Visual Studio projects but I cams across an Android Emulator that doesn't as yet support Fast Deployment.

I was wondering if there is a PropertyGroup condition that can be applied only to Emulators as shown below (which doesn't differentiate between emulators and devices).

<!-- The following disables Fast Deployment as Android API 33 Emulator cannot yet handle this feature.-->
    
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android|AnyCPU'">
	<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
</PropertyGroup>
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
    2023-06-05T07:36:20.8533333+00:00

    Hello,

    There are no settings could disable Fast deployment for a chosen emulator or some emulators.

    Please suggest a feature for Visual Studio

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful