In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to use Visual Studio for you. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The Visual Studio menu dialog box commands are different from the description, depending on your current setting or version. These methods are developed through the current development form. To change settings, choose Import and Export Settings on the tools menu.
In some cases, it is useful to programmatically create a new instance of Visual Studio or attach to a specific instance of Visual Studio that is already running. If two instances of Visual Studio run on one system and open the same solution (for example, one instance performs solution generation and the other performs debug generation), the add-in can be programmed to distinguish between the two instances.
For example, you can:
Starts an instance of Visual Studio based on the path of the file or solution. Attach to an instance of Visual Studio based on the path of the file or solution. The Visual Studio menu loads a file or solution into an existing instance of Visual Studio. Create a new instance of Visual Studio at the location where the instance is closed in the following cases:
The external reference count on both the Visual Studio menu and the Solution object is 0. -and-the integrated development environment (IDE) is not shown to the user or does not accept user control. Create a new instance of Visual Studio at the location where the instance is loaded, even if:
The external reference count on both the DTE object and the Solution object is 0. The IDE has been displayed to the user. -and-IDE are under the control of users.
To create a new instance of Visual Studio, use the CreateObject function (Visual Basic) or System.Activator.CreateInstance. When using the CreateObject function in Visual Basic, you can pass "VisualStudio.DTE.8.0" or "VisualStudio.Solution.8.0." The value of. The example below on the Visual Studio menu demonstrates these three methods.
'CreateObject method 1-VisualStudio.DTE.8.0. Public Sub OnConnection (ByVal application As Object, ByVal _ connectMode As ext_ConnectMode, ByVal addInInst As Object, _ ByRef custom As Array) Implements IDTExtensibility2.OnConnection _ applicationObject = CType (application, DTE2) addInInstance = CType (addInInst, AddIn) CreateNewInstance1 (_ applicationObject) End Sub Private Sub CreateNewInstance1 (ByVal dte As DTE2) Dim inst As Object Dim dte80Obj As EnvDTE80.DTE2 inst = Microsoft.VisualBasic.Interaction. _ CreateObject ("VisualStudio.DTE.8.0", ") dte80Obj = CType (inst, EnvDTE80.DTE2) MsgBox (dte80Obj.DisplayMode.ToString) End Sub on" how to use VisualStudio "this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.