title: Xamarin crash: System.MissingMethodException: Method not found: void .ResourceLoadingQuery.set_Instance(object)
body: <p>When I try to run my Xamarin app, I get this error in <code>InitializeComponent</code> of App.xaml.cs:</p>
  
  <blockquote>
    <p>System.MissingMethodException: Method not found: void .ResourceLoadingQuery.set_Instance(object)</p>
  </blockquote>
  
  <p>I tried cleaning and rebuilding my solution, deleting my obj and bin folders, and restarting Visual Studio as advised <a href="https://stackoverflow.com/questions/56898424/xamarin-forms-4-1-0-method-not-found-void-resourceloadingquery-set-instanceo">here</a> but that didn't seem to help...</p>
  
  <p>edit: I also have a bunch of alleged compile errors in Resource.designer.cs which don't prevent the app from running, but maybe they are causing this problem?</p>
  
  <p><a href="https://i.stack.imgur.com/aGAJj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aGAJj.png" alt="enter image description here"></a></p>