Example #1
0
        // delete a strings resource provided a locale
        public static void DeleteStrings(string locale = null)
        {
            var resFile = Path.Combine(GetResourcesFolderPath(), GetStringsResName(locale));

            if (File.Exists(resFile))
            {
                try
                {
                    VsUtils.DeleteFile(VsUtils.GetCurrentProject(), resFile);
                    Ensurer.EnsureAppXaml();
                }
                catch { }
            }
        }