Non working save commit
Showing
4 changed files
with
17 additions
and
0 deletions
... | @@ -20,6 +20,7 @@ using System.ComponentModel.Design; | ... | @@ -20,6 +20,7 @@ using System.ComponentModel.Design; |
20 | using System.Globalization; | 20 | using System.Globalization; |
21 | using Microsoft.VisualStudio.Shell; | 21 | using Microsoft.VisualStudio.Shell; |
22 | using Microsoft.VisualStudio.Shell.Interop; | 22 | using Microsoft.VisualStudio.Shell.Interop; |
23 | using Microsoft.VisualStudio.TestTools.LoadTesting; | ||
23 | 24 | ||
24 | namespace WebTest.WebServive.Plugin | 25 | namespace WebTest.WebServive.Plugin |
25 | { | 26 | { |
... | @@ -107,6 +108,13 @@ namespace WebTest.WebServive.Plugin | ... | @@ -107,6 +108,13 @@ namespace WebTest.WebServive.Plugin |
107 | string message = @"Repository, Wiki, Issues at https://git.lightsinline.se/lilchger/WebServicePlugins"; | 108 | string message = @"Repository, Wiki, Issues at https://git.lightsinline.se/lilchger/WebServicePlugins"; |
108 | string title = "WebService Plugin For WebTest version 1.0"; | 109 | string title = "WebService Plugin For WebTest version 1.0"; |
109 | 110 | ||
111 | |||
112 | WebServiceVSPackage wsp = package as WebServiceVSPackage; | ||
113 | EnvDTE80.DTE2 dte = wsp.GetDTE2(); | ||
114 | LoadTestPackageExt wpe = dte.GetObject("Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestPackageExt") as LoadTestPackageExt; | ||
115 | |||
116 | if (wpe != null) title += " (loaded)"; else title += " (not loaded)"; | ||
117 | |||
110 | // Show a message box to prove we were here | 118 | // Show a message box to prove we were here |
111 | VsShellUtilities.ShowMessageBox( | 119 | VsShellUtilities.ShowMessageBox( |
112 | this.ServiceProvider, | 120 | this.ServiceProvider, | ... | ... |
... | @@ -144,6 +144,10 @@ | ... | @@ -144,6 +144,10 @@ |
144 | <HintPath>..\packages\Microsoft.VisualStudio.OLE.Interop.7.10.6071\lib\Microsoft.VisualStudio.OLE.Interop.dll</HintPath> | 144 | <HintPath>..\packages\Microsoft.VisualStudio.OLE.Interop.7.10.6071\lib\Microsoft.VisualStudio.OLE.Interop.dll</HintPath> |
145 | <Private>True</Private> | 145 | <Private>True</Private> |
146 | </Reference> | 146 | </Reference> |
147 | <Reference Include="Microsoft.VisualStudio.QualityTools.LoadTestPackage, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
148 | <SpecificVersion>False</SpecificVersion> | ||
149 | <HintPath>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll</HintPath> | ||
150 | </Reference> | ||
147 | <Reference Include="Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | 151 | <Reference Include="Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
148 | <HintPath>..\packages\Microsoft.VisualStudio.Shell.14.0.14.3.25407\lib\Microsoft.VisualStudio.Shell.14.0.dll</HintPath> | 152 | <HintPath>..\packages\Microsoft.VisualStudio.Shell.14.0.14.3.25407\lib\Microsoft.VisualStudio.Shell.14.0.dll</HintPath> |
149 | <Private>True</Private> | 153 | <Private>True</Private> | ... | ... |
... | @@ -96,6 +96,11 @@ namespace WebTest.WebServive.Plugin | ... | @@ -96,6 +96,11 @@ namespace WebTest.WebServive.Plugin |
96 | 96 | ||
97 | } | 97 | } |
98 | 98 | ||
99 | public DTE2 GetDTE2() | ||
100 | { | ||
101 | return (DTE2)GetService(typeof(DTE)); | ||
102 | } | ||
103 | |||
99 | protected override void Dispose(bool disposing) | 104 | protected override void Dispose(bool disposing) |
100 | { | 105 | { |
101 | if(_wsp_connect != null) | 106 | if(_wsp_connect != null) | ... | ... |
No preview for this file type
-
Please register or sign in to post a comment