Ian Vink
Ian Vink

Reputation: 68740

MonoDroid: Getting the Resource .Designer.cs to refresh

After I update the XML in a Layout, the Resource.Designer.cs does not refresh automatically.

How can I get MonoDroid to update the class so that I get Intellisence on new items added/changed in my Activity's layout.

Upvotes: 5

Views: 1680

Answers (2)

Георг Мосин
Георг Мосин

Reputation: 11

Rebuilding doesn't always work. It's a bug of Mono for Android. Try installing a new version, that may work.

Upvotes: -1

Greg Shackles
Greg Shackles

Reputation: 10139

The designer files get updated as part of the build, so if you rebuild your project after updating your layout they'll get regenerated.

Upvotes: 4

Related Questions