// create the resources file in the desired path public static void CreateXamlRes(string path, bool openInEditor) { StringsXMLEditor.CreateDocument(path); VsUtils.AddFileIfUnexisting(VsUtils.GetCurrentProject(), path); Ensurer.EnsureAppXaml(); if (openInEditor) { VsUtils.OpenInEditor(path); } Ensurer.EnsureEverything(); }