Create VSIX package and move all custom tool code into the VSPackage project

This commit is contained in:
Christian Resma Helle
2013-05-26 00:10:55 +02:00
parent 95e1d1aa39
commit b52fae47fc
46 changed files with 2764 additions and 42 deletions
@@ -0,0 +1,16 @@
using System.IO;
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.VSPackage.CustomTool
{
public static class ClassNameExtractor
{
public static string GetClassName(string wszInputFilePath)
{
if (!File.Exists(wszInputFilePath))
throw new FileNotFoundException();
var fileInfo = new FileInfo(wszInputFilePath);
return fileInfo.Name.Replace(fileInfo.Extension, string.Empty);
}
}
}