visual studio - error while trying to create DTE2 Interface object with ruby -
I'm trying to use Ruby win32ole
lib and controlling Visual Studio 8
tried this
'win32ole' ide = WIN32OLE.new ('EnvDTE80.DTE2') is required
And received this error unknown OLE server: NVIDIA 80. DTE2
What I am doing, can it work at all?
You are using the wrong object name for Visual Studio 2008 and a solution called MySolution.sln Opening:
'win32ole' objDTE = WIN32OLE.new ("VisualStudio.DTE.9.0") objDTE.MainWindow.Visible = True #Make VS Window visible objDTE.UserControl = true; Due to incorrect VS shutting down the script due to incorrect #Set = objDTE.Solution solution Open ("MySolution.sln");
Comments
Post a Comment