4

Is it possible to run Visual Studio tool: 'Generate Local Resources' programmatically?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Chris
  • 103
  • 1
  • 8

1 Answers1

1

From a macro in VS2010 you can do this:

Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports EnvDTE90a
Imports EnvDTE100
Imports System.Diagnostics

Public Module Module1

    Public Sub test()
        DTE.ExecuteCommand("Tools.GenerateLocalResource")
    End Sub


End Module
rene
  • 41,474
  • 78
  • 114
  • 152