Cannot update Xamarin.Forms from 3.4.0.1029999 to 3.5.0.169047

anna.domashychanna.domashych USMember ✭✭
edited February 22 in Xamarin.Forms

I have a Xamarin.Forms solution with .netStandard 2.0 core project project_name. It stops compiling immediately after I try to upgrade Xamarin.Forms from 3.4.0.1029999 to 3.5.0.169047.
It complains to every single .xaml file with the same error: "file_name.xaml: [null] Failed to resolve assembly: 'project_name, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'".
The problem repeats in Rider, VS for Mac and on CI.
I also tried updating to the nearest 3.5.0.62956-pre2 and latest 4.0.0.169046-pre5 pre-release versions with no luck.

As long as a new project updates seamlessly, I assume there is some issue specific to my project, but I have no clue where to look for it.

Posts

  • Xami3Xami3 PKMember, University ✭✭✭

    @anna.domashych have you tried it with stable XF releases?

  • anna.domashychanna.domashych USMember ✭✭

    That's what I have started from, Xamarin.Forms 3.5.0.169047

  • anna.domashychanna.domashych USMember ✭✭

    I have managed to identify the problem.
    Some of the models in my project are marked with [Equals] attribute, and Equals.Fody 1.9.4 is referenced. I all works fine until the model has a nullable enum property. That's when the project stops building.

Sign In or Register to comment.