locked
Problem running standalone application created using Visual Studio Automation(ENVDTE.dll) RRS feed

  • Question

  • Hi Folks,

      I have created an application using VS2005 Profressional Edition for automation of VC++ project creation.It works fine in my system.When I tried to run the same application on a PC which has Visual Studio 2005 Express Edition I get error while creating the solution object.

    Do I need yo add any additional dll's for deploying this on other machines

    Solution

    soln = System.Activator.CreateInstance(Type.GetTypeFromProgID("VisualStudio.Solution")) as EnvDTE.Solution;

    Please help in this regard

    Friday, November 4, 2011 9:55 AM

Answers

All replies

  • Express is not extensible and thus does not expose DTE.

    Ryan

    Friday, November 4, 2011 7:13 PM
  • Express is not extensible and thus does not expose DTE.

    Ryan

    Friday, November 4, 2011 7:13 PM
  • Hi Ryan........

      Is there any other alternative with which i can make it work.......Can I ship the dll's into the machine which has express edition

    Monday, November 7, 2011 6:40 AM
  • No, it is a business decision by Microsoft to not make Express extensible, there is no way for you to make it extensible.

    Ryan

    Monday, November 7, 2011 3:43 PM
  • But i see in the registry and GAC Envdte & Extenisble dll are registerd for express version.....Is there any way i can get the solution object instance for express edtion
    Tuesday, November 8, 2011 11:00 AM
  • No. DTE is present as some in thr box components use it, it is purposefully not exposed for third party usage.

    Ryan

    Tuesday, November 8, 2011 4:16 PM