c# - Resourse.designer.cs can't rebuild android Xamarin? -
today trying make start in programming android in c# using xamarin. however, when go docs , follow example play audio (here link audio docs). when add line of code:
_player = mediaplayer.create(this, resource.raw.test);
i error:
e:\android apps\hardcore_gabber_app\hardcoregabberapp\mainactivity.cs(48,48): error cs0117: 'hardcoregabberapp.resource' not contain definition 'raw' (cs0117) (hardcoregabberapp)
and how have folders:
and still cant find "raw". deleting recourse.designer.cs , rebuild not working. getting more errors , recourse.designer.cs not rebuilding. how can fix this?
it seemed had add files manually adding right clicking on folder , press add files instead of drag , drop fix issue:
Comments
Post a Comment