OYIon / LiveXAML

Xamarin Forms live UI update in an emulator
35 stars 2 forks source link

Incremental build disabled #77

Open pablogupi opened 5 years ago

pablogupi commented 5 years ago

HI! I buy License of LiveXaml and install in my Xamarin Forms Project. I add plugin in Core, Android and iOS. Using this config, LiveXaml work fine, but when I click in Visual Studio in run button, Android or iOS app build again, without making any change in code. In iOS build log, I view this lines:

.nuget/packages/livexaml/2.1.70/build/netstandard2.0/LiveXAML.targets(25,5): warning : This projects doesn't contain any XAML files but has LiveXAML installed. If you have a PCL configuration, you should only install LiveXAML into the PCL project.

MTOUCH : warning MT0127: Incremental builds have been disabled because this version of Xamarin.iOS does not support incremental builds in projects that include more than one third-party binding libraries.

If I uninstall LiveXaml in Android and iOS, MTOUCH warning not appeared and build instantly, but my xcml changes not load because LiveXaml doesn't work.

Is there a solution for worked LiveXam and incremental builds in same time? Thanks a lot

thisisthekap commented 4 years ago

@ionoy Is there any update on this issue?

ionoy commented 4 years ago

I don't understand the issue, to be honest. Do you install the LiveXAML NuGet package in Android/iOS projects? Because you shouldn't do that. You only need to install it in the shared (.NET Standard) project.

Also, you can try LiveSharp which has LiveXAML integrated. LiveSharp uses a different method for initialization which might help the issue.