c# - Xamarin Resource designer does not update properly -


i have visual studio solution containing xamarin android project.

since migration vs17, resource designer xamarin started behaving strangely.

if add new xml layout in resources/layout folder, resource designer notice after exclude, , re-include new file.

however, if these steps reproduced second new file, resource designer notice second new file, first 1 erased.

this makes refactoring impossible, , leads corrupted project.

has workaround ?

visual studio 2017 entreprise version : 15.3.0 xamarin version : 4.6.0.295 (306f67a)

on android, files in resources folder should have build action set 'androidresource' in order resource designer notice them.

so when add existing files, make sure build action set properly.

same goes files in resource folder on ios. only, build actions called 'bundleresource'.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -