Visual Studio 2017 - Xamarin - The file “obj\Debug\android\bin\packaged_resources” does not exist

后端 未结 14 1851
自闭症患者
自闭症患者 2021-01-01 11:13

I\'m fighting with that issue for 2 days already and can\'t find any solution.

I have an Xamarin Android app in Visual Studio 2017 consisting of three projects:

14条回答
  •  清酒与你
    2021-01-01 12:03

    Simply it worked.

    1. In one case I copied and pasted previous working "packaged_resources" in the bin folder.[the problem was it did not reflect the UI changes]
    2. Other I opened the visual studio as administrator.
    3. Next changed the "Minimum target to Android" to lower apis in the project properties windows.
    4. I suggest not touching the code behind of the design. If you get this error simply pull some button from the tool bar into the design and visual studio will come to its consciousness that there is change in UI. Next click on save all so that it make necessary change in the designer file.

提交回复
热议问题