Is it possoble to run 'Generate Local Resources Tool' programmatically?
Is it possible to run Visual Studio tool: 'Generate Lo开发者_如何学Pythoncal Resources' programmatically?
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
精彩评论