locked
Automation Run Custom Tool RRS feed

  • Question

  • Hello,

    We have a package that is integrated in vs.

    and a lot of projects that  use this package to gerenate some .cs files.

    we do it using these steps: 

    first we open the project then select project and ten run custom tool.

    we can do it for a single project item.

    my question is 

    shall we do these steps from  onether exe that automate these operation so we do not need to open then Run custom tool then build.

    i want to do that within
    an exe or batch but i can not find any solution.

    thanks. 


    evgeni
    Thursday, February 2, 2012 11:56 AM

Answers

  • If you have already implemented a VS integration package, you could simply implement a custom command line switch.

    The following help topic details how this can be done:

       Adding Command-Line Switches

    Sincerely,


    Ed Dore

    Thursday, February 9, 2012 4:28 AM

All replies

  • Hi evgenixristov,

    Yes , you can do this automatically. You have three options:

    1.       You can try to create a new instance of Visual Studio to implement it;

    2.       You can try to create a macros to implement it;

    3.       You can try to create an add-in to implement it;

    Reference:

    How to: Create and Attach to Another Instance of Visual Studio:

    http://msdn.microsoft.com/en-us/library/6cefss65.aspx

    Visual Studio Macros:

    http://msdn.microsoft.com/en-us/library/b4c73967(v=vs.100).aspx

    How to: Create an Add-In:

    http://msdn.microsoft.com/en-us/library/80493a3w.aspx

     

    Best regards,

    Lucy


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us
    Monday, February 6, 2012 8:58 AM
  • thanks  lucy-liu...

    i will try as soon as possible and let u know...


    evgeni
    Monday, February 6, 2012 9:03 AM
  • Hi evgenixristov,

    Do you have any news about this issue?

    Please let us know.

    Thank you for your understsanding!

    Best regards,

    Lucy


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, February 9, 2012 2:57 AM
  • If you have already implemented a VS integration package, you could simply implement a custom command line switch.

    The following help topic details how this can be done:

       Adding Command-Line Switches

    Sincerely,


    Ed Dore

    Thursday, February 9, 2012 4:28 AM
  • thanks lucy-liu...

    i finally did it work within in a console application...


    evgeni

    Wednesday, February 15, 2012 9:29 AM