Create new Visual Studio 2017 solution
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using Microsoft.CSharp;
|
||||
using Microsoft.VisualStudio.Shell;
|
||||
|
||||
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.VSPackage.CustomTool
|
||||
{
|
||||
[Guid("151F74CA-404D-4188-B994-D7683C32ACF4")]
|
||||
[ComVisible(true)]
|
||||
[ProvideObject(typeof(ReswFileCSharpCodeGeneratorInternal))]
|
||||
[CodeGeneratorRegistration(typeof(ReswFileCSharpCodeGeneratorInternal),
|
||||
"C# ResW File Code Generator (Internal class)",
|
||||
Guids.ReswFileCSharpCodeGenerator,
|
||||
GeneratesDesignTimeSource = true,
|
||||
GeneratorRegKeyName = "InternalReswFileCodeGenerator")]
|
||||
public class ReswFileCSharpCodeGeneratorInternal : ReswFileCodeGenerator
|
||||
{
|
||||
public ReswFileCSharpCodeGeneratorInternal()
|
||||
: base(new CSharpCodeProvider(), TypeAttributes.NestedAssembly)
|
||||
{
|
||||
}
|
||||
|
||||
public override int DefaultExtension(out string pbstrDefaultExtension)
|
||||
{
|
||||
pbstrDefaultExtension = ".cs";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user