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
@@ -1,6 +1,3 @@
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Xml.Linq;
@@ -42,26 +39,6 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool.Tests
Assert.AreNotEqual(0, resourcs.Count());
}
[TestMethod]
public void CanParseTestReswFileContentsIntoResourceItems()
{
var doc = XDocument.Parse(reswFileContents);
var list = new List<ResourceItem>();
foreach (var element in doc.Descendants("data"))
{
list.Add(new ResourceItem
{
Name = element.Attribute("name").Value,
Value = element.Descendants("value").First().Value,
Comment = element.Descendants("comment").First().Value
});
}
CollectionAssert.AllItemsAreNotNull(list);
}
[TestMethod]
public void ConstructorSetsReswFileContents()
{