Commit 6301752b 6301752bf4b5ab8f174cbc72cdf2bb939bd879c7 by Christian Gerdes

First partly working commit. Assemblies included in the vsix package, currently …

…no need to run setup on 2015.
1 parent 0c271a47
1 ################################################################################ 1 ## Ignore Visual Studio temporary files, build results, and
2 ## files generated by popular Visual Studio add-ons.
3
4 # User-specific files
5 *.suo
6 *.user
7 *.sln.docstates
8
9 # Build results
10
11 [Dd]ebug/
12 [Rr]elease/
13 x64/
14 build/
15 [Bb]in/
16 [Oo]bj/
17
18 # Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
19 !packages/*/build/
20
21 # MSTest test Results
22 [Tt]est[Rr]esult*/
23 [Bb]uild[Ll]og.*
24
25 *_i.c
26 *_p.c
27 *.ilk
28 *.meta
29 *.obj
30 *.pch
31 *.pdb
32 *.pgc
33 *.pgd
34 *.rsp
35 *.sbr
36 *.tlb
37 *.tli
38 *.tlh
39 *.tmp
40 *.tmp_proj
41 *.log
42 *.vspscc
43 *.vssscc
44 .builds
45 *.pidb
46 *.log
47 *.scc
48
49 # Visual C++ cache files
50 ipch/
51 *.aps
52 *.ncb
53 *.opensdf
54 *.sdf
55 *.cachefile
56
57 # Visual Studio profiler
58 *.psess
59 *.vsp
60 *.vspx
61
62 # Guidance Automation Toolkit
63 *.gpState
64
65 # ReSharper is a .NET coding add-in
66 _ReSharper*/
67 *.[Rr]e[Ss]harper
68
69 # TeamCity is a build add-in
70 _TeamCity*
71
72 # DotCover is a Code Coverage Tool
73 *.dotCover
74
75 # NCrunch
76 *.ncrunch*
77 .*crunch*.local.xml
78
79 # Installshield output folder
80 [Ee]xpress/
81
82 # DocProject is a documentation generator add-in
83 DocProject/buildhelp/
84 DocProject/Help/*.HxT
85 DocProject/Help/*.HxC
86 DocProject/Help/*.hhc
87 DocProject/Help/*.hhk
88 DocProject/Help/*.hhp
89 DocProject/Help/Html2
90 DocProject/Help/html
91
92 # Click-Once directory
93 publish/
94
95 # Publish Web Output
96 *.Publish.xml
97
98 # NuGet Packages Directory
99 ## TODO: If you have NuGet Package Restore enabled, uncomment the next line
100 packages/
101
102 # Windows Azure Build Output
103 csx
104 *.build.csdef
105
106 # Windows Store app package directory
107 AppPackages/
108
109 # Others
110 sql/
111 *.Cache
112 ClientBin/
113 [Ss]tyle[Cc]op.*
114 ~$*
115 *~
116 *.dbmdl
117 *.[Pp]ublish.xml
118 *.pfx
119 *.publishsettings
120
121 # RIA/Silverlight projects
122 Generated_Code/
123
124 # Backup & report files from converting an old project file to a newer
125 # Visual Studio version. Backup files are not needed, because we have git ;-)
126 _UpgradeReport_Files/
127 Backup*/
128 UpgradeLog*.XML
129 UpgradeLog*.htm
130
131 # SQL Server files
132 App_Data/*.mdf
133 App_Data/*.ldf
134
135
136 #LightSwitch generated files
137 GeneratedArtifacts/
138 _Pvt_Extensions/
139 ModelManifest.xml
140
141 # =========================
142 # Windows detritus
143 # =========================
144
145 # Windows image file caches
146 Thumbs.db
147 ehthumbs.db
148
149 # Folder config file
150 Desktop.ini
151
152 # Recycle Bin used on file shares
153 $RECYCLE.BIN/
154
155 # Mac desktop service store files
156 .DS_Store
157
158
159 ################################################################################
2 # This .gitignore file was automatically created by Microsoft(R) Visual Studio. 160 # This .gitignore file was automatically created by Microsoft(R) Visual Studio.
3 ################################################################################ 161 ################################################################################
4 162
......
1  1 
2 Microsoft Visual Studio Solution File, Format Version 12.00 2 Microsoft Visual Studio Solution File, Format Version 12.00
3 # Visual Studio 2012 3 # Visual Studio 14
4 VisualStudioVersion = 14.0.25420.1
5 MinimumVisualStudioVersion = 10.0.40219.1
4 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServicePluginForWebTestMessageEditor", "WebTestWebServiceMessageEditor\WebServicePluginForWebTestMessageEditor.csproj", "{23707A49-589B-4A36-BDAA-2896E647D07D}" 6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServicePluginForWebTestMessageEditor", "WebTestWebServiceMessageEditor\WebServicePluginForWebTestMessageEditor.csproj", "{23707A49-589B-4A36-BDAA-2896E647D07D}"
5 EndProject 7 EndProject
6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServicePluginForWebTestResultTab", "WebTestWebServiceResultAddin\WebServicePluginForWebTestResultTab.csproj", "{48B3509E-1FD8-4875-8FC6-137647EB83AA}" 8 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServicePluginForWebTestResultTab", "WebTestWebServiceResultAddin\WebServicePluginForWebTestResultTab.csproj", "{48B3509E-1FD8-4875-8FC6-137647EB83AA}"
...@@ -9,32 +11,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServicePluginForWebTestR ...@@ -9,32 +11,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServicePluginForWebTestR
9 EndProject 11 EndProject
10 Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "WebServicePluginsSetup", "WebTestWebServiceSetup\WebServicePluginsSetup.wixproj", "{73ACCDA5-47C1-40C9-B63E-AFF657E046E4}" 12 Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "WebServicePluginsSetup", "WebTestWebServiceSetup\WebServicePluginsSetup.wixproj", "{73ACCDA5-47C1-40C9-B63E-AFF657E046E4}"
11 EndProject 13 EndProject
14 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServicePluginForWebTestResultTabVSIX", "WebServicePluginForWebTestResultTabVSIX\WebServicePluginForWebTestResultTabVSIX.csproj", "{63355892-39EF-4F97-84E0-C7CA616E0281}"
15 EndProject
12 Global 16 Global
13 GlobalSection(TeamFoundationVersionControl) = preSolution
14 SccNumberOfProjects = 4
15 SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
16 SccTeamFoundationServer = https://tfs.codeplex.com/tfs/tfs03
17 SccProjectUniqueName0 = WebTestWebServiceRuntime\\WebServicePluginForWebTestRuntime.csproj
18 SccProjectName0 = WebTestWebServiceRuntime
19 SccAuxPath0 = https://tfs.codeplex.com/tfs/tfs03
20 SccLocalPath0 = WebTestWebServiceRuntime
21 SccProvider0 = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
22 SccProjectUniqueName1 = WebTestWebServiceResultAddin\\WebServicePluginForWebTestResultTab.csproj
23 SccProjectName1 = WebTestWebServiceResultAddin
24 SccAuxPath1 = https://tfs.codeplex.com/tfs/tfs03
25 SccLocalPath1 = WebTestWebServiceResultAddin
26 SccProvider1 = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
27 SccProjectUniqueName2 = WebTestWebServiceMessageEditor\\WebServicePluginForWebTestMessageEditor.csproj
28 SccProjectName2 = WebTestWebServiceMessageEditor
29 SccAuxPath2 = https://tfs.codeplex.com/tfs/tfs03
30 SccLocalPath2 = WebTestWebServiceMessageEditor
31 SccProvider2 = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
32 SccProjectUniqueName3 = WebTestWebServiceSetup\\WebServicePluginsSetup.wixproj
33 SccProjectName3 = WebTestWebServiceSetup
34 SccAuxPath3 = https://tfs.codeplex.com/tfs/tfs03
35 SccLocalPath3 = WebTestWebServiceSetup
36 SccProvider3 = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
37 EndGlobalSection
38 GlobalSection(SolutionConfigurationPlatforms) = preSolution 17 GlobalSection(SolutionConfigurationPlatforms) = preSolution
39 Debug|Any CPU = Debug|Any CPU 18 Debug|Any CPU = Debug|Any CPU
40 Debug|Mixed Platforms = Debug|Mixed Platforms 19 Debug|Mixed Platforms = Debug|Mixed Platforms
...@@ -84,6 +63,18 @@ Global ...@@ -84,6 +63,18 @@ Global
84 {73ACCDA5-47C1-40C9-B63E-AFF657E046E4}.Release|Mixed Platforms.Build.0 = Release|x86 63 {73ACCDA5-47C1-40C9-B63E-AFF657E046E4}.Release|Mixed Platforms.Build.0 = Release|x86
85 {73ACCDA5-47C1-40C9-B63E-AFF657E046E4}.Release|x86.ActiveCfg = Release|x86 64 {73ACCDA5-47C1-40C9-B63E-AFF657E046E4}.Release|x86.ActiveCfg = Release|x86
86 {73ACCDA5-47C1-40C9-B63E-AFF657E046E4}.Release|x86.Build.0 = Release|x86 65 {73ACCDA5-47C1-40C9-B63E-AFF657E046E4}.Release|x86.Build.0 = Release|x86
66 {63355892-39EF-4F97-84E0-C7CA616E0281}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
67 {63355892-39EF-4F97-84E0-C7CA616E0281}.Debug|Any CPU.Build.0 = Debug|Any CPU
68 {63355892-39EF-4F97-84E0-C7CA616E0281}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
69 {63355892-39EF-4F97-84E0-C7CA616E0281}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
70 {63355892-39EF-4F97-84E0-C7CA616E0281}.Debug|x86.ActiveCfg = Debug|Any CPU
71 {63355892-39EF-4F97-84E0-C7CA616E0281}.Debug|x86.Build.0 = Debug|Any CPU
72 {63355892-39EF-4F97-84E0-C7CA616E0281}.Release|Any CPU.ActiveCfg = Release|Any CPU
73 {63355892-39EF-4F97-84E0-C7CA616E0281}.Release|Any CPU.Build.0 = Release|Any CPU
74 {63355892-39EF-4F97-84E0-C7CA616E0281}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
75 {63355892-39EF-4F97-84E0-C7CA616E0281}.Release|Mixed Platforms.Build.0 = Release|Any CPU
76 {63355892-39EF-4F97-84E0-C7CA616E0281}.Release|x86.ActiveCfg = Release|Any CPU
77 {63355892-39EF-4F97-84E0-C7CA616E0281}.Release|x86.Build.0 = Release|Any CPU
87 EndGlobalSection 78 EndGlobalSection
88 GlobalSection(SolutionProperties) = preSolution 79 GlobalSection(SolutionProperties) = preSolution
89 HideSolutionNode = FALSE 80 HideSolutionNode = FALSE
......
1 using System.Reflection;
2 using System.Runtime.CompilerServices;
3 using System.Runtime.InteropServices;
4
5 // General Information about an assembly is controlled through the following
6 // set of attributes. Change these attribute values to modify the information
7 // associated with an assembly.
8 [assembly: AssemblyTitle("WebServicePluginForWebTestResultTabVSIX")]
9 [assembly: AssemblyDescription("")]
10 [assembly: AssemblyConfiguration("")]
11 [assembly: AssemblyCompany("")]
12 [assembly: AssemblyProduct("WebServicePluginForWebTestResultTabVSIX")]
13 [assembly: AssemblyCopyright("")]
14 [assembly: AssemblyTrademark("")]
15 [assembly: AssemblyCulture("")]
16
17 // Setting ComVisible to false makes the types in this assembly not visible
18 // to COM components. If you need to access a type in this assembly from
19 // COM, set the ComVisible attribute to true on that type.
20 [assembly: ComVisible(false)]
21
22 // Version information for an assembly consists of the following four values:
23 //
24 // Major Version
25 // Minor Version
26 // Build Number
27 // Revision
28 //
29 // You can specify all the values or you can default the Build and Revision Numbers
30 // by using the '*' as shown below:
31 // [assembly: AssemblyVersion("1.0.*")]
32 [assembly: AssemblyVersion("1.0.0.0")]
33 [assembly: AssemblyFileVersion("1.0.0.0")]
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 VS SDK Notes: This resx file contains the resources that will be consumed from your package by Visual Studio.
4 For example, Visual Studio will attempt to load resource '400' from this resource stream when it needs to
5 load your package's icon. Because Visual Studio will always look in the VSPackage.resources stream first for
6 resources it needs, you should put additional resources that Visual Studio will load directly into this resx
7 file.
8
9 Resources that you would like to access directly from your package in a strong-typed fashion should be stored
10 in Resources.resx or another resx file.
11 -->
12 <root>
13 <!--
14 Microsoft ResX Schema
15
16 Version 2.0
17
18 The primary goals of this format is to allow a simple XML format
19 that is mostly human readable. The generation and parsing of the
20 various data types are done through the TypeConverter classes
21 associated with the data types.
22
23 Example:
24
25 ... ado.net/XML headers & schema ...
26 <resheader name="resmimetype">text/microsoft-resx</resheader>
27 <resheader name="version">2.0</resheader>
28 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
29 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
30 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
31 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
32 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
33 <value>[base64 mime encoded serialized .NET Framework object]</value>
34 </data>
35 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
36 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
37 <comment>This is a comment</comment>
38 </data>
39
40 There are any number of "resheader" rows that contain simple
41 name/value pairs.
42
43 Each data row contains a name, and value. The row also contains a
44 type or mimetype. Type corresponds to a .NET class that support
45 text/value conversion through the TypeConverter architecture.
46 Classes that don't support this are serialized and stored with the
47 mimetype set.
48
49 The mimetype is used for serialized objects, and tells the
50 ResXResourceReader how to depersist the object. This is currently not
51 extensible. For a given mimetype the value must be set accordingly:
52
53 Note - application/x-microsoft.net.object.binary.base64 is the format
54 that the ResXResourceWriter will generate, however the reader can
55 read any of the formats listed below.
56
57 mimetype: application/x-microsoft.net.object.binary.base64
58 value : The object must be serialized with
59 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
60 : and then encoded with base64 encoding.
61
62 mimetype: application/x-microsoft.net.object.soap.base64
63 value : The object must be serialized with
64 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
65 : and then encoded with base64 encoding.
66
67 mimetype: application/x-microsoft.net.object.bytearray.base64
68 value : The object must be serialized into a byte array
69 : using a System.ComponentModel.TypeConverter
70 : and then encoded with base64 encoding.
71 -->
72 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
73 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
74 <xsd:element name="root" msdata:IsDataSet="true">
75 <xsd:complexType>
76 <xsd:choice maxOccurs="unbounded">
77 <xsd:element name="metadata">
78 <xsd:complexType>
79 <xsd:sequence>
80 <xsd:element name="value" type="xsd:string" minOccurs="0" />
81 </xsd:sequence>
82 <xsd:attribute name="name" use="required" type="xsd:string" />
83 <xsd:attribute name="type" type="xsd:string" />
84 <xsd:attribute name="mimetype" type="xsd:string" />
85 <xsd:attribute ref="xml:space" />
86 </xsd:complexType>
87 </xsd:element>
88 <xsd:element name="assembly">
89 <xsd:complexType>
90 <xsd:attribute name="alias" type="xsd:string" />
91 <xsd:attribute name="name" type="xsd:string" />
92 </xsd:complexType>
93 </xsd:element>
94 <xsd:element name="data">
95 <xsd:complexType>
96 <xsd:sequence>
97 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
98 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
99 </xsd:sequence>
100 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
101 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
102 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
103 <xsd:attribute ref="xml:space" />
104 </xsd:complexType>
105 </xsd:element>
106 <xsd:element name="resheader">
107 <xsd:complexType>
108 <xsd:sequence>
109 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
110 </xsd:sequence>
111 <xsd:attribute name="name" type="xsd:string" use="required" />
112 </xsd:complexType>
113 </xsd:element>
114 </xsd:choice>
115 </xsd:complexType>
116 </xsd:element>
117 </xsd:schema>
118 <resheader name="resmimetype">
119 <value>text/microsoft-resx</value>
120 </resheader>
121 <resheader name="version">
122 <value>2.0</value>
123 </resheader>
124 <resheader name="reader">
125 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
126 </resheader>
127 <resheader name="writer">
128 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
129 </resheader>
130 <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
131 <data name="110" xml:space="preserve">
132 <value>WebServiceVSPackage Extension</value>
133 </data>
134 <data name="112" xml:space="preserve">
135 <value>WebServiceVSPackage Visual Studio Extension Detailed Info</value>
136 </data>
137 <data name="400" type="System.Resources.ResXFileRef, System.Windows.Forms">
138 <value>Resources\WebServiceVSPackage.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
139 </data>
140 </root>
...\ No newline at end of file ...\ No newline at end of file
1 //------------------------------------------------------------------------------
2 // <copyright file="WebServiceVSPackage.cs" company="Company">
3 // Copyright (c) Company. All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6
7 using System;
8 using System.ComponentModel.Design;
9 using System.Diagnostics;
10 using System.Diagnostics.CodeAnalysis;
11 using System.Globalization;
12 using System.Runtime.InteropServices;
13 using Microsoft.VisualStudio;
14 using Microsoft.VisualStudio.OLE.Interop;
15 using Microsoft.VisualStudio.Shell;
16 using Microsoft.VisualStudio.Shell.Interop;
17 using Microsoft.Win32;
18 using EnvDTE;
19 using EnvDTE80;
20 using WebTest.WebService.Plugin.ResultTab;
21
22 namespace WebTest.WebServive.Plugin.ResultTabVSIX
23 {
24 /// <summary>
25 /// This is the class that implements the package exposed by this assembly.
26 /// </summary>
27 /// <remarks>
28 /// <para>
29 /// The minimum requirement for a class to be considered a valid package for Visual Studio
30 /// is to implement the IVsPackage interface and register itself with the shell.
31 /// This package uses the helper classes defined inside the Managed Package Framework (MPF)
32 /// to do it: it derives from the Package class that provides the implementation of the
33 /// IVsPackage interface and uses the registration attributes defined in the framework to
34 /// register itself and its components with the shell. These attributes tell the pkgdef creation
35 /// utility what data to put into .pkgdef file.
36 /// </para>
37 /// <para>
38 /// To get loaded into VS, the package must be referred by &lt;Asset Type="Microsoft.VisualStudio.VsPackage" ...&gt; in .vsixmanifest file.
39 /// </para>
40 /// </remarks>
41 [PackageRegistration(UseManagedResourcesOnly = true)]
42 [InstalledProductRegistration("#110", "#112", "1.0", IconResourceID = 400)] // Info on this package for Help/About
43 [Guid(WebServiceVSPackage.PackageGuidString)]
44 [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "pkgdef, VS and vsixmanifest are valid VS terms")]
45 [ProvideAutoLoad(UIContextGuids80.SolutionExists)]
46 public sealed class WebServiceVSPackage : Package
47 {
48 /// <summary>
49 /// WebServiceVSPackage GUID string.
50 /// </summary>
51 public const string PackageGuidString = "7e15e6a8-3708-4be9-92f4-92218254a23d";
52
53 /// <summary>
54 /// Initializes a new instance of the <see cref="WebServiceVSPackage"/> class.
55 /// </summary>
56 public WebServiceVSPackage()
57 {
58 // Inside this method you can place any initialization code that does not require
59 // any Visual Studio service because at this point the package object is created but
60 // not sited yet inside Visual Studio environment. The place to do all the other
61 // initialization is the Initialize method.
62 }
63
64 #region Package Members
65
66 /// <summary>
67 /// Initialization of the package; this method is called right after the package is sited, so this is the place
68 /// where you can put all the initialization code that rely on services provided by VisualStudio.
69 /// </summary>
70 protected override void Initialize()
71 {
72 base.Initialize();
73 DTE2 dte = (DTE2)GetService(typeof(DTE));
74
75 _wsp_connect = new WebTest.WebService.Plugin.ResultTab.Connect();
76 _wsp_connect.OnConnection(dte, Extensibility.ext_ConnectMode.ext_cm_Startup, null, ref _arr);
77
78 }
79
80 protected override void Dispose(bool disposing)
81 {
82 if(_wsp_connect != null)
83 {
84 _wsp_connect.OnDisconnection(Extensibility.ext_DisconnectMode.ext_dm_HostShutdown, ref _arr);
85 }
86 base.Dispose(disposing);
87 }
88
89 #endregion
90 Connect _wsp_connect = null;
91 Array _arr = new object[0];
92 }
93 }
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset='utf-8'>
5
6 <link rel="stylesheet" type="text/css" href="stylesheet.css" media="screen">
7
8 <title>Getting Started</title>
9 </head>
10
11 <body>
12 <div class="container">
13 <div id="header">
14 <h1>Getting Started</h1>
15 <h2>Visual Studio Extensions</h2>
16 </div>
17
18 <div id="main_content">
19 <div id="lpanel">
20 <h1>Creating a Visual Studio Extension</h1>
21
22 <p>This project enables developers to create an extension for Visual Studio. The solution contains a VSIX project that packages the extension into a VSIX file. This file is used to install an extension for Visual Studio.</p>
23 <h2>Add new features</h2>
24
25 <ol>
26 <li>Right-click the project node in Solution Explorer and select Add&gt;New Item.</li>
27 <li>In the Add New Item dialog box, expand the Extensibility node under Visual C# or Visual Basic.</li>
28 <li>Choose from the available item templates: Visual Studio Package, Editor Items (Classifier, Margin, Text Adornment, Viewport Adornment), Command, Tool Window, Toolbox Control, and then click Add.</li>
29 </ol>
30
31 <p>The files for the template that you selected are added to the project. You can start adding functionality to your item template, press F5 to run the project, or add additional item templates.</p>
32
33 <h2>Run and debug</h2>
34 <p>To run the project, press F5. Visual Studio will:</p>
35
36 <ul>
37 <li>Build the extension from the VSIX project.</li>
38 <li>Create a VSIX package from the VSIX project.</li>
39 <li>When debugging, start an experimental instance of Visual Studio with the VSIX package installed.</li>
40 </ul>
41
42 <p>In the experimental instance of Visual Studio you can test out the functionality of your extension without affecting your Visual Studio installation.</p>
43
44 </div>
45 <div id="rpanel">
46 <div>
47 <h1>Visual Studio Extensibility Resources</h1>
48
49 <ol>
50 <li><a target="_blank" href="http://aka.ms/d0ru3v">MSDN documentation</a><br />Detailed documentation and API reference material for building extensions.</li>
51 <li><a target="_blank" href="http://aka.ms/pauhge">Extension samples on GitHub</a><br />Use a sample project to kickstart your development.</li>
52 <li><a target="_blank" href="http://aka.ms/l24u91">Extensibility chat room on Gitter</a><br />Meet other extension developers and exchange tips and tricks for extension development.</li>
53 <li><a target="_blank" href="http://aka.ms/fwg1ft">Channel 9 videos on extensibility</a><br />Watch videos from the product team on Visual Studio extensibility.</li>
54 <li><a target="_blank" href="http://aka.ms/ui0qn6">Extensibility Tools 2015</a><br />Install an optional helper tool that adds extra IDE support for extension authors.</li>
55 </ol>
56 <h1>Give us feedback</h1>
57 <ul>
58 <li><a target="_blank" href="http://aka.ms/uonulm">Submit a new feature idea or suggestion</a></li>
59 </ul>
60 </div>
61 </div>
62 </div>
63 </div>
64 </body>
65 </html>
1 <?xml version="1.0" encoding="utf-8"?>
2 <packages>
3 <package id="Microsoft.VisualStudio.Imaging" version="14.3.25407" targetFramework="net452" />
4 <package id="Microsoft.VisualStudio.OLE.Interop" version="7.10.6070" targetFramework="net452" />
5 <package id="Microsoft.VisualStudio.Shell.14.0" version="14.3.25407" targetFramework="net452" />
6 <package id="Microsoft.VisualStudio.Shell.Immutable.10.0" version="10.0.30319" targetFramework="net452" />
7 <package id="Microsoft.VisualStudio.Shell.Immutable.11.0" version="11.0.50727" targetFramework="net452" />
8 <package id="Microsoft.VisualStudio.Shell.Immutable.12.0" version="12.0.21003" targetFramework="net452" />
9 <package id="Microsoft.VisualStudio.Shell.Immutable.14.0" version="14.3.25407" targetFramework="net452" />
10 <package id="Microsoft.VisualStudio.Shell.Interop" version="7.10.6071" targetFramework="net452" />
11 <package id="Microsoft.VisualStudio.Shell.Interop.10.0" version="10.0.30319" targetFramework="net452" />
12 <package id="Microsoft.VisualStudio.Shell.Interop.11.0" version="11.0.61030" targetFramework="net452" />
13 <package id="Microsoft.VisualStudio.Shell.Interop.12.0" version="12.0.30110" targetFramework="net452" />
14 <package id="Microsoft.VisualStudio.Shell.Interop.8.0" version="8.0.50727" targetFramework="net452" />
15 <package id="Microsoft.VisualStudio.Shell.Interop.9.0" version="9.0.30729" targetFramework="net452" />
16 <package id="Microsoft.VisualStudio.TextManager.Interop" version="7.10.6070" targetFramework="net452" />
17 <package id="Microsoft.VisualStudio.TextManager.Interop.8.0" version="8.0.50727" targetFramework="net452" />
18 <package id="Microsoft.VisualStudio.Threading" version="14.1.111" targetFramework="net452" />
19 <package id="Microsoft.VisualStudio.Utilities" version="14.3.25407" targetFramework="net452" />
20 <package id="Microsoft.VisualStudio.Validation" version="14.1.111" targetFramework="net452" />
21 <package id="Microsoft.VSSDK.BuildTools" version="14.3.25407" targetFramework="net452" developmentDependency="true" />
22 </packages>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
3 <Metadata>
4 <Identity Id="WebServicePluginForWebTestResultTabVSIX.Christian Gerdes.9ce3c01b-c64c-4500-bd8e-1bedbc31100f" Version="1.0" Language="en-US" Publisher="Christian Gerdes" />
5 <DisplayName>WebService Plugin For WebTest</DisplayName>
6 <Description xml:space="preserve">The WebService Plugin as a VSPackage. Based on the original CodePlex project.</Description>
7 <MoreInfo>https://git.lightsinline.se/lilchger/WebServicePlugins</MoreInfo>
8 </Metadata>
9 <Installation>
10 <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[14.0]" />
11 </Installation>
12 <Dependencies>
13 <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
14 <Dependency Id="Microsoft.VisualStudio.MPF.14.0" DisplayName="Visual Studio MPF 14.0" d:Source="Installed" Version="[14.0]" />
15 </Dependencies>
16 <Assets>
17 <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
18 <Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="WebServicePluginForWebTestResultTab" Path="|WebServicePluginForWebTestResultTab|" AssemblyName="|WebServicePluginForWebTestResultTab;AssemblyName|" />
19 <Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="WebServicePluginForWebTestRuntime" Path="|WebServicePluginForWebTestRuntime|" AssemblyName="|WebServicePluginForWebTestRuntime;AssemblyName|" />
20 </Assets>
21 </PackageManifest>
1 body {
2 margin: 0;
3 padding: 0;
4 border: 0;
5 color: #1E1E1E;
6 font-size: 13px;
7 font-family: "Segoe UI", Helvetica, Arial, sans-serif;
8 line-height: 1.45;
9 word-wrap: break-word;
10 }
11
12 /* General & 'Reset' Stuff */
13
14
15 .container {
16 width: 980px;
17 margin: 0 auto;
18 }
19
20 section {
21 display: block;
22 margin: 0;
23 }
24
25 h1, h2, h3, h4, h5, h6 {
26 margin: 0;
27 }
28
29 /* Header, <header>
30 header - container
31 h1 - project name
32 h2 - project description
33 */
34
35 #header {
36 color: #FFF;
37 background: #68217a;
38 position:relative;
39 }
40 #hangcloud {
41 width: 190px;
42 height: 160px;
43 background: url("../images/bannerart03.png");
44 position: absolute;
45 top: 0;
46 right: -30px;
47 }
48 h1, h2 {
49 font-family: "Segoe UI Light", "Segoe UI", Helvetica, Arial, sans-serif;
50 line-height: 1;
51 margin: 0 18px;
52 padding: 0;
53 }
54 #header h1 {
55 font-size: 3.4em;
56 padding-top: 18px;
57 font-weight: normal;
58 margin-left: 15px;
59 }
60
61 #header h2 {
62 font-size: 1.5em;
63 margin-top: 10px;
64 padding-bottom: 18px;
65 font-weight: normal;
66 }
67
68
69 #main_content {
70 width: 100%;
71 display: flex;
72 flex-direction: row;
73 }
74
75
76 h1, h2, h3, h4, h5, h6 {
77 font-weight: bolder;
78 }
79
80 #main_content h1 {
81 font-size: 1.8em;
82 margin-top: 34px;
83 }
84
85 #main_content h1:first-child {
86 margin-top: 30px;
87 }
88
89 #main_content h2 {
90 font-size: 1.4em;
91 font-weight: bold;
92 }
93 p, ul {
94 margin: 11px 18px;
95 }
96
97 #main_content a {
98 color: #06C;
99 text-decoration: none;
100 }
101 ul {
102 margin-top: 13px;
103 margin-left: 18px;
104 padding-left: 0;
105 }
106 ul li {
107 margin-left: 18px;
108 padding-left: 0;
109 }
110 #lpanel {
111 width: 620px;
112 float: left;
113 }
114 #rpanel ul {
115 list-style-type: none;
116 width: 300px;
117 }
118 #rpanel ul li {
119 line-height: 1.8em;
120 }
121 #rpanel {
122 background: #e7e7e7;
123 width: 360px;
124 float: right;
125 }
126
127 #rpanel div {
128 width: 300px;
129 }
No preview for this file type
...@@ -37,6 +37,12 @@ ...@@ -37,6 +37,12 @@
37 <WarningLevel>4</WarningLevel> 37 <WarningLevel>4</WarningLevel>
38 <Prefer32Bit>false</Prefer32Bit> 38 <Prefer32Bit>false</Prefer32Bit>
39 </PropertyGroup> 39 </PropertyGroup>
40 <PropertyGroup>
41 <SignAssembly>true</SignAssembly>
42 </PropertyGroup>
43 <PropertyGroup>
44 <AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
45 </PropertyGroup>
40 <ItemGroup> 46 <ItemGroup>
41 <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 47 <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
42 <EmbedInteropTypes>True</EmbedInteropTypes> 48 <EmbedInteropTypes>True</EmbedInteropTypes>
...@@ -79,6 +85,9 @@ ...@@ -79,6 +85,9 @@
79 <Name>WebServicePluginForWebTestRuntime</Name> 85 <Name>WebServicePluginForWebTestRuntime</Name>
80 </ProjectReference> 86 </ProjectReference>
81 </ItemGroup> 87 </ItemGroup>
88 <ItemGroup>
89 <None Include="Key.snk" />
90 </ItemGroup>
82 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 91 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
83 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 92 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
84 Other similar extension points exist, see Microsoft.Common.targets. 93 Other similar extension points exist, see Microsoft.Common.targets.
......
No preview for this file type
...@@ -44,6 +44,12 @@ ...@@ -44,6 +44,12 @@
44 <PropertyGroup> 44 <PropertyGroup>
45 <RootNamespace>WebTest.WebService.Plugin.ResultTab</RootNamespace> 45 <RootNamespace>WebTest.WebService.Plugin.ResultTab</RootNamespace>
46 </PropertyGroup> 46 </PropertyGroup>
47 <PropertyGroup>
48 <SignAssembly>true</SignAssembly>
49 </PropertyGroup>
50 <PropertyGroup>
51 <AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
52 </PropertyGroup>
47 <ItemGroup> 53 <ItemGroup>
48 <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 54 <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
49 <EmbedInteropTypes>False</EmbedInteropTypes> 55 <EmbedInteropTypes>False</EmbedInteropTypes>
...@@ -55,7 +61,7 @@ ...@@ -55,7 +61,7 @@
55 <Reference Include="Microsoft.VisualStudio.QualityTools.LoadTestPackage"> 61 <Reference Include="Microsoft.VisualStudio.QualityTools.LoadTestPackage">
56 <HintPath>C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll</HintPath> 62 <HintPath>C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll</HintPath>
57 <HintPath>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll</HintPath> 63 <HintPath>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll</HintPath>
58 <Private>False</Private> 64 <Private>True</Private>
59 </Reference> 65 </Reference>
60 <Reference Include="Microsoft.VisualStudio.QualityTools.WebTestFramework" /> 66 <Reference Include="Microsoft.VisualStudio.QualityTools.WebTestFramework" />
61 <Reference Include="System" /> 67 <Reference Include="System" />
...@@ -180,6 +186,9 @@ ...@@ -180,6 +186,9 @@
180 <Private>False</Private> 186 <Private>False</Private>
181 </ProjectReference> 187 </ProjectReference>
182 </ItemGroup> 188 </ItemGroup>
189 <ItemGroup>
190 <None Include="Key.snk" />
191 </ItemGroup>
183 <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> 192 <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
184 <PropertyGroup> 193 <PropertyGroup>
185 <PreBuildEvent> 194 <PreBuildEvent>
......
...@@ -87,24 +87,27 @@ namespace WebTest.WebService.Plugin.ResultTab ...@@ -87,24 +87,27 @@ namespace WebTest.WebService.Plugin.ResultTab
87 try 87 try
88 { 88 {
89 this.dom = dom; 89 this.dom = dom;
90 XmlNode xNode = dom.DocumentElement; 90 if (dom.DocumentElement != null)
91 {
92 XmlNode xNode = dom.DocumentElement;
91 93
92 // Load the XML into the TreeView. 94 // Load the XML into the TreeView.
93 treeView.Nodes.Clear(); 95 treeView.Nodes.Clear();
94 96
95 TreeNode treeNode = new TreeNode(xNode.Name); 97 TreeNode treeNode = new TreeNode(xNode.Name);
96 treeNode.Tag = xNode; 98 treeNode.Tag = xNode;
97 if (xNode.HasChildNodes) 99 if (xNode.HasChildNodes)
98 { 100 {
99 treeNode.Nodes.Add(new TreeNode("dummy")); 101 treeNode.Nodes.Add(new TreeNode("dummy"));
100 } 102 }
101 else 103 else
102 { 104 {
103 treeNode.Text = xNode.InnerXml.Trim(); 105 treeNode.Text = xNode.InnerXml.Trim();
104 } 106 }
105 107
106 treeView.Nodes.Add(treeNode); 108 treeView.Nodes.Add(treeNode);
107 treeNode.Collapse(); 109 treeNode.Collapse();
110 }
108 } 111 }
109 catch (Exception ex) 112 catch (Exception ex)
110 { 113 {
......
No preview for this file type
...@@ -37,6 +37,12 @@ ...@@ -37,6 +37,12 @@
37 <WarningLevel>4</WarningLevel> 37 <WarningLevel>4</WarningLevel>
38 <Prefer32Bit>false</Prefer32Bit> 38 <Prefer32Bit>false</Prefer32Bit>
39 </PropertyGroup> 39 </PropertyGroup>
40 <PropertyGroup>
41 <SignAssembly>true</SignAssembly>
42 </PropertyGroup>
43 <PropertyGroup>
44 <AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
45 </PropertyGroup>
40 <ItemGroup> 46 <ItemGroup>
41 <Reference Include="Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> 47 <Reference Include="Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
42 <Reference Include="System" /> 48 <Reference Include="System" />
...@@ -60,6 +66,9 @@ ...@@ -60,6 +66,9 @@
60 <Compile Include="XPathExtractionRule.cs" /> 66 <Compile Include="XPathExtractionRule.cs" />
61 <Compile Include="XPathValidationRule.cs" /> 67 <Compile Include="XPathValidationRule.cs" />
62 </ItemGroup> 68 </ItemGroup>
69 <ItemGroup>
70 <None Include="Key.snk" />
71 </ItemGroup>
63 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 72 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
64 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 73 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
65 Other similar extension points exist, see Microsoft.Common.targets. 74 Other similar extension points exist, see Microsoft.Common.targets.
......