Xamarin Android Resource file not found

前端 未结 3 798
执笔经年
执笔经年 2021-01-01 19:12

I am building an Android App in Visual Studio. When I try to build the app referencing items in the Resources folder, I get one of two errors.

If I preface \"Resourc

3条回答
  •  离开以前
    2021-01-01 20:09

    This might happen when you add a new file and Visual studio sets it to the wrong build Action. I know this has happened me multiple times and can spend ages trying to figure out what going on. If you right click the file and see the Build action. this should be set to Android Resource. Hope it helps

    Screen shot

提交回复
热议问题