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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -