introduced custom actions file to execute devenv.exe /setup as admin

This commit is contained in:
Christian Resma Helle
2012-11-11 00:06:25 +01:00
parent 2575c0ce27
commit bf7d815274
20 changed files with 645 additions and 77 deletions
@@ -57,7 +57,7 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool
var resources = ResourceParser.Parse();
foreach (var item in resources)
{
if (item.Name.Contains("."))
if (string.IsNullOrEmpty(item.Name) || item.Name.Contains("."))
continue;
var property = new CodeMemberProperty
@@ -69,7 +69,7 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool
};
property.Comments.Add(new CodeCommentStatement("<summary>", true));
property.Comments.Add(new CodeCommentStatement("Localized resource similar to \"" + item.Value + "\"", true));
property.Comments.Add(new CodeCommentStatement("Localized resource similar to \"" + (item.Value ?? item.Name) + "\"", true));
property.Comments.Add(new CodeCommentStatement("</summary>", true));
property.GetStatements.Add(
new CodeMethodReturnStatement(