???? BUG: ?? BuildEvents vsBuildScopeSolution ????? ?? ???????? ???????? Visual Studio.NET

?????? ????????? ?????? ?????????
???? ???????: 555102 - ??? ???????? ???? ????? ????? ??? ???????.
Author: Carlos Quintero MVP
????? ???? | ?? ????

??????

????? ????? ???? ?????? ????? ????? ??????? EnvDTE.BuildEvents, ??? ????? ??????? ???? ????? ??? ?? ???? ??? ????? ????? ??? ?? Explorer ???? ?? ????? ?????? " ????? " ??? vsBuildScopeSolution,.

???????

????? ????? ???? ?????? ????? ????? ??????? EnvDTE.BuildEvents, ??? ????? ??????? ???? ????? ??? ?? ???? ??? ????? ????? ??? ?? Explorer ???? ?? ????? ?????? " ????? " ??? vsBuildScopeSolution,.

?????

??? ???? ??? ?? " IDE ?????? Visual Studio.NET.

????

??? ????? ????? ??????? ??????? ??? ??????? Build.BuildXXX ?????? ??? ????? ??????, ??????? ???????? ???????? ???? ???? ??? ??? ??? ??? ???? ????? ??????? ???: BUG: Command events fired only to last addin loaded in Visual Studio .NET

??????? ????

????? addin VS.NET ????? ???????? ???????? ??????? (VB.NET):
 
   m_objBuildEvents WithEvents ????? EnvDTE.BuildEvents ????
 
   OnConnection(ByVal application As Object, ByVal connectMode As Extensibility.ext_ConnectMode, _ Sub ??????
      ByVal addInInst ???? ?? ByRef ????? ???? System.Array) Extensibility.IDTExtensibility2.OnConnection Implements
 
      ????? objDTE EnvDTE.DTE ????
 
      objDTE = CType (???????? EnvDTE.DTE)

      m_objBuildEvents objDTE.Events.BuildEvents =
 
   ????? Sub
 
   _ m_objBuildEvents_OnBuildBegin (???? ???? EnvDTE.vsBuildScope ByVal, ByVal ????? ???? EnvDTE.vsBuildAction) ????? ????
      ????? m_objBuildEvents.OnBuildBegin

      System.Windows.Forms.MessageBox.Show("OnBuildBegin with Scope: " & Scope.ToString)

   ????? Sub

 

???????

???? ???????: 555102 - ????? ??? ??????: 14/???? ?????/1425 - ??????: 1.0
????? ???
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Professional Edition
????? ??????: 
kbpubmvp kbpubtypecca kbhowto KB555102 KbMtar kbmt
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????. ??? ?? ???? ??? ??????? ????? ?? ???????? ?? ??? ???????? ?????? ????? ????????? ??????? ???? ??? ???????
???? ??? ????? ??????? ?????? ??????????555102
COMMUNITY SOLUTIONS CONTENT DISCLAIMER
MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com