Skip to content

Commit

Permalink
Fix build (#1384)
Browse files Browse the repository at this point in the history
The test didn't use the correct `UpdateXmlResource` overload. This commit makes
the build work.
  • Loading branch information
grendello authored and dellis1972 committed Mar 9, 2018
1 parent 767043c commit 6641a32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void MenuActionLayout ()
app:showAsAction = ""never"" />
</menu>");
Monodroid.AndroidResource.UpdateXmlResource (actions, new Dictionary<string, string> (), null);
Monodroid.AndroidResource.UpdateXmlResource (Path.Combine (path, "res"), actions, new Dictionary<string, string> (), null);
var actionsText = File.ReadAllText (actions);
Assert.True (actionsText.Contains ("@layout/servinglayout"), "'@layout/ServingLayout' was not converted to '@layout/servinglayout'");
Directory.Delete (path, recursive: true);
Expand Down

0 comments on commit 6641a32

Please sign in to comment.