locked
How to disable build command when i start build programmatically RRS feed

  • Question

  • Hi. In my extension i start build programmatically. But when building was started some items (build solution, rebuild solution) is enable in BUILD menu. How can i disable their?

    Thanks.

    Thursday, June 5, 2014 2:36 PM

Answers

  • Hi,

    Welcome here!

    According to your description, you need the commands for starting the building or rebuilding a Visual Studio project be disabled programmatically.

    I suggest you refer to the following 2 threads.

    How to disable build command in VS2008 (like build is already running) (VSPackage)

    http://social.msdn.microsoft.com/Forums/en-US/6cb14f5c-b424-4954-8b55-894891063379/how-to-disable-build-command-in-vs2008-like-build-is-already-running-vspackage?forum=vsx

    It is about turning on/off the same UIContext values that the SolutionBuildManager normally does.

    How to disable Visual Studio Commands?

    http://social.msdn.microsoft.com/Forums/en-US/f8089054-6051-4e90-8b07-46c71bb8126c/how-to-disable-visual-studio-commands?forum=vsx

    Best regards,

    • Marked as answer by Anna Cc Sunday, June 15, 2014 2:45 AM
    Monday, June 9, 2014 2:26 PM