gpt4 book ai didi

xamarin - 调试时刷新 Xamarin View ,无需重新构建应用程序

转载 作者:行者123 更新时间:2023-12-01 00:25:06 26 4
gpt4 key购买 nike

在使用 Android Emulator 的 Visual Studio (2015) 中,有没有一种方法可以对 xaml View 进行小更新,并在调试应用程序中刷新该 View ,而无需重新构建和重新部署项目?

目前,用于调试的构建/部署大约需要 2 分钟,而不得不对 UI 样式进行一些细微的调整并再次完成整个事情,这让我发疯。

我想我是在问是否有一些类似 ASP.NET MVC 的功能,我可以在其中更新前端文件(cshtml、js 等)并且只需刷新页面而无需重新加载项目。

最佳答案

Xamarin Live Player lets you make live edits to your app and have those changes reflected live on your device. Your code runs inside the Xamarin Live Player app – there is no need to set up emulators or to use cables to deploy the code!


  • https://www.xamarin.com/live

  • 它确实有限制,请务必阅读限制部分:
  • https://developer.xamarin.com/guides/cross-platform/live
  • 关于xamarin - 调试时刷新 Xamarin View ,无需重新构建应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45693608/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com