syonip
syonip

Reputation: 2971

Xamarin WPF doesn't reflect code changes without rebuild

I've configured a Xamarin Forms WPF platform project using this guide: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/platform/other/wpf

It's working, but when I make any change in my Xamarin.Forms class library project (either code or XAML), the change is not reflected in the actual WPF app. Only when I manually rebuild the Xamarin.Forms project, I see the changes reflected.

This is not happening in the UWP project, only in the WPF project.

Upvotes: 1

Views: 347

Answers (1)

syonip
syonip

Reputation: 2971

I managed to solve it by adding the following to the csproj file of the WPF project:

<PropertyGroup>
    <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup> 

Upvotes: 1

Related Questions