locked
missing an assembly reference how to add this RRS feed

  • Question

  • User313407 posted

    Severity Code Description Project File Line Suppression State Error CS0234 The type or namespace name 'XamlFilePathAttributeAttribute' does not exist in the namespace 'Xamarin.Forms.Xaml' (are you missing an assembly reference?) Popups c:\users\mic24user\documents\visual studio 2015\Projects\Popups\Popups\Popups\obj\Debug\Popups.App.xaml.g.cs 14 Active

    Friday, April 21, 2017 1:53 PM

Answers

  • User313407 posted

    go to NugetPackage Manager install and update your Xamarin forms install updated version you can select latest versions (2.3.4.231) and install this then this error automatically install and delete old packages

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, April 21, 2017 5:23 PM

All replies

  • User92861 posted

    Make sure all your Forms packages are on the latest versions (2.3.4.231) then do a clean and rebuild of the project. If that does not work, you may have to manually delete the bin/ and obj/ folders in your project directory before doing a rebuild again.

    Friday, April 21, 2017 4:46 PM
  • User313407 posted

    go to NugetPackage Manager install and update your Xamarin forms install updated version you can select latest versions (2.3.4.231) and install this then this error automatically install and delete old packages

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, April 21, 2017 5:23 PM
  • User272493 posted

    Thansk a lot. I solved my problem by your way.

    Tuesday, May 2, 2017 12:58 AM
  • User313407 posted

    Thank you sir

    Tuesday, May 2, 2017 3:07 PM
  • User247139 posted

    yes! the answer fixed my problem as well

    Tuesday, July 25, 2017 11:12 PM
  • User383173 posted

    You also can restore your Nuget Package in Solution

    Wednesday, March 6, 2019 11:39 AM