SetContentView Error

Good evening,

I am new to writing code and am trying to follow tutorials to learn. I have followed a couple now and this error seems to keep occurring (see attached image).

Is anybody able to tell me where I am going wrong?

Thank you in advance.

Martin

Answers

  • jaymarvelsjaymarvels GBMember ✭✭

    @MartinTaylor

    Try Cleaning and Rebuilding.

    When you add resources it adds an entry to Resource.designer.cs (hidden class) and sometimes when you create the layout/resource and save it doesn't add it right away.

    Usually a clean/build sorts it out.

Sign In or Register to comment.