Skip to content

Commit 3e13533

Browse files
Add files via upload
1 parent 4fa47f1 commit 3e13533

File tree

84 files changed

+72786
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+72786
-0
lines changed

Solution/Auto.sln.DotSettings.user

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue">&lt;AssemblyExplorer&gt;&#xD;
3+
&lt;Assembly Path="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.12.0.dll" /&gt;&#xD;
4+
&lt;/AssemblyExplorer&gt;</s:String></wpf:ResourceDictionary>

Solution/Auto/Auto.vsct

+116
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3+
4+
<!-- This is the file that defines the actual layout and type of the commands.
5+
It is divided in different sections (e.g. command definition, command
6+
placement, ...), with each defining a specific set of properties.
7+
See the comment before each section for more details about how to
8+
use it. -->
9+
10+
<!-- The VSCT compiler (the tool that translates this file into the binary
11+
format that VisualStudio will consume) has the ability to run a preprocessor
12+
on the vsct file; this preprocessor is (usually) the C++ preprocessor, so
13+
it is possible to define includes and macros with the same syntax used
14+
in C++ files. Using this ability of the compiler here, we include some files
15+
defining some of the constants that we will use inside the file. -->
16+
17+
<!--This is the file that defines the IDs for all the commands exposed by VisualStudio. -->
18+
<Extern href="stdidcmd.h"/>
19+
20+
<!--This header contains the command ids for the menus provided by the shell. -->
21+
<Extern href="vsshlids.h"/>
22+
23+
24+
25+
26+
<!--The Commands section is where we the commands, menus and menu groups are defined.
27+
This section uses a Guid to identify the package that provides the command defined inside it. -->
28+
<Commands package="guidAutoPkg">
29+
<!-- Inside this section we have different sub-sections: one for the menus, another
30+
for the menu groups, one for the buttons (the actual commands), one for the combos
31+
and the last one for the bitmaps used. Each element is identified by a command id that
32+
is a unique pair of guid and numeric identifier; the guid part of the identifier is usually
33+
called "command set" and is used to group different command inside a logically related
34+
group; your package should define its own command set in order to avoid collisions
35+
with command ids defined by other packages. -->
36+
37+
38+
<!-- In this section you can define new menu groups. A menu group is a container for
39+
other menus or buttons (commands); from a visual point of view you can see the
40+
group as the part of a menu contained between two lines. The parent of a group
41+
must be a menu. -->
42+
<Groups>
43+
44+
<Group guid="guidAutoCmdSet" id="MyMenuGroup" priority="0x0600">
45+
<Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_TOOLS"/>
46+
</Group>
47+
48+
49+
50+
</Groups>
51+
52+
<!--Buttons section. -->
53+
<!--This section defines the elements the user can interact with, like a menu command or a button
54+
or combo box in a toolbar. -->
55+
<Buttons>
56+
<!--To define a menu group you have to specify its ID, the parent menu and its display priority.
57+
The command is visible and enabled by default. If you need to change the visibility, status, etc, you can use
58+
the CommandFlag node.
59+
You can add more than one CommandFlag node e.g.:
60+
<CommandFlag>DefaultInvisible</CommandFlag>
61+
<CommandFlag>DynamicVisibility</CommandFlag>
62+
If you do not want an image next to your command, remove the Icon node /> -->
63+
64+
<Button guid="guidAutoCmdSet" id="cmdidMyCommand" priority="0x0100" type="Button">
65+
<Parent guid="guidAutoCmdSet" id="MyMenuGroup" />
66+
<Icon guid="guidImages" id="bmpPic1" />
67+
<Strings>
68+
<ButtonText>Auto</ButtonText>
69+
</Strings>
70+
</Button>
71+
72+
73+
74+
</Buttons>
75+
76+
<!--The bitmaps section is used to define the bitmaps that are used for the commands.-->
77+
<Bitmaps>
78+
<!-- The bitmap id is defined in a way that is a little bit different from the others:
79+
the declaration starts with a guid for the bitmap strip, then there is the resource id of the
80+
bitmap strip containing the bitmaps and then there are the numeric ids of the elements used
81+
inside a button definition. An important aspect of this declaration is that the element id
82+
must be the actual index (1-based) of the bitmap inside the bitmap strip. -->
83+
<Bitmap guid="guidImages" href="Resources\Images.png" usedList="bmpPic1, bmpPic2, bmpPicSearch, bmpPicX, bmpPicArrows"/>
84+
85+
</Bitmaps>
86+
87+
</Commands>
88+
89+
90+
91+
92+
93+
<Symbols>
94+
<!-- This is the package guid. -->
95+
<GuidSymbol name="guidAutoPkg" value="{e05cbc8a-0ba5-4f83-a454-7753d9c7379e}" />
96+
97+
<!-- This is the guid used to group the menu commands together -->
98+
<GuidSymbol name="guidAutoCmdSet" value="{7999a625-1309-4c41-a8f1-0492373b86bc}">
99+
100+
<IDSymbol name="MyMenuGroup" value="0x1020" />
101+
<IDSymbol name="cmdidMyCommand" value="0x0100" />
102+
</GuidSymbol>
103+
104+
105+
106+
<GuidSymbol name="guidImages" value="{2e0326af-d878-48ed-9af2-187ff072d584}" >
107+
<IDSymbol name="bmpPic1" value="1" />
108+
<IDSymbol name="bmpPic2" value="2" />
109+
<IDSymbol name="bmpPicSearch" value="3" />
110+
<IDSymbol name="bmpPicX" value="4" />
111+
<IDSymbol name="bmpPicArrows" value="5" />
112+
<IDSymbol name="bmpPicStrikethrough" value="6" />
113+
</GuidSymbol>
114+
</Symbols>
115+
116+
</CommandTable>

Solution/Auto/GlobalSuppressions.cs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// This file is used by Code Analysis to maintain SuppressMessage
2+
// attributes that are applied to this project. Project-level
3+
// suppressions either have no target or are given a specific target
4+
// and scoped to a namespace, type, member, etc.
5+
//
6+
// To add a suppression to this file, right-click the message in the
7+
// Error List, point to "Suppress Message(s)", and click "In Project
8+
// Suppression File". You do not need to add suppressions to this
9+
// file manually.
10+
11+
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1017:MarkAssembliesWithComVisible")]

Solution/Auto/Guids.cs

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Guids.cs
2+
// MUST match guids.h
3+
using System;
4+
5+
namespace ImageVisualizerVSPackage
6+
{
7+
static class GuidList
8+
{
9+
public const string guidAutoPkgString = "e05cbc8a-0ba5-4f83-a454-7753d9c7379e";
10+
public const string guidAutoCmdSetString = "7999a625-1309-4c41-a8f1-0492373b86bc";
11+
public const string guidToolWindowPersistanceString = "b52a68d2-3a11-404e-8bb7-65afa2481f75";
12+
13+
public static readonly Guid guidAutoCmdSet = new Guid(guidAutoCmdSetString);
14+
};
15+
}

Solution/Auto/ImageVisualizer.csproj

+184
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
3+
<PropertyGroup>
4+
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
5+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion>
6+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
7+
<FileUpgradeFlags>
8+
</FileUpgradeFlags>
9+
<UpgradeBackupLocation>
10+
</UpgradeBackupLocation>
11+
<OldToolsVersion>12.0</OldToolsVersion>
12+
</PropertyGroup>
13+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
14+
<PropertyGroup>
15+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
16+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
17+
<SchemaVersion>2.0</SchemaVersion>
18+
<ProjectGuid>{3A2F99A1-2F03-4C5A-AF74-9923E4D1FB20}</ProjectGuid>
19+
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
20+
<OutputType>Library</OutputType>
21+
<AppDesignerFolder>Properties</AppDesignerFolder>
22+
<RootNamespace>ImageVisualizer.Auto</RootNamespace>
23+
<AssemblyName>Auto</AssemblyName>
24+
<SignAssembly>True</SignAssembly>
25+
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
26+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
29+
<DebugSymbols>true</DebugSymbols>
30+
<DebugType>full</DebugType>
31+
<Optimize>false</Optimize>
32+
<OutputPath>bin\Debug\</OutputPath>
33+
<DefineConstants>DEBUG;TRACE</DefineConstants>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
</PropertyGroup>
37+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
38+
<DebugType>pdbonly</DebugType>
39+
<Optimize>true</Optimize>
40+
<OutputPath>bin\Release\</OutputPath>
41+
<DefineConstants>TRACE</DefineConstants>
42+
<ErrorReport>prompt</ErrorReport>
43+
<WarningLevel>4</WarningLevel>
44+
<RunCodeAnalysis>true</RunCodeAnalysis>
45+
</PropertyGroup>
46+
<ItemGroup>
47+
<Reference Include="envdte90a, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
48+
<EmbedInteropTypes>True</EmbedInteropTypes>
49+
</Reference>
50+
<Reference Include="Microsoft.CSharp" />
51+
<Reference Include="Microsoft.VisualStudio.CoreUtility, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
52+
<Reference Include="Microsoft.VisualStudio.Debugger.Interop, Version=8.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
53+
<EmbedInteropTypes>True</EmbedInteropTypes>
54+
</Reference>
55+
<Reference Include="Microsoft.VisualStudio.Language.Intellisense, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
56+
<Reference Include="Microsoft.VisualStudio.OLE.Interop" />
57+
<Reference Include="Microsoft.VisualStudio.Shell.Interop" />
58+
<Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0" />
59+
<Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0" />
60+
<Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0" />
61+
<Reference Include="Microsoft.VisualStudio.Shell.Interop.11.0">
62+
<EmbedInteropTypes>true</EmbedInteropTypes>
63+
</Reference>
64+
<Reference Include="Microsoft.VisualStudio.Shell.Interop.12.0">
65+
<EmbedInteropTypes>true</EmbedInteropTypes>
66+
</Reference>
67+
<Reference Include="Microsoft.VisualStudio.Text.Data, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
68+
<Reference Include="Microsoft.VisualStudio.Text.Logic, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
69+
<Reference Include="Microsoft.VisualStudio.Text.UI, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
70+
<Reference Include="Microsoft.VisualStudio.Text.UI.Wpf, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
71+
<Reference Include="Microsoft.VisualStudio.TextManager.Interop" />
72+
<Reference Include="Microsoft.VisualStudio.Shell.12.0" />
73+
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.10.0" />
74+
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.11.0" />
75+
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.12.0" />
76+
<Reference Include="PresentationCore" />
77+
<Reference Include="PresentationFramework" />
78+
<Reference Include="System" />
79+
<Reference Include="System.ComponentModel.Composition" />
80+
<Reference Include="System.Core" />
81+
<Reference Include="System.Data" />
82+
<Reference Include="System.Design" />
83+
<Reference Include="System.Drawing" />
84+
<Reference Include="System.Windows" />
85+
<Reference Include="System.Windows.Controls.Ribbon" />
86+
<Reference Include="System.Windows.Forms" />
87+
<Reference Include="System.Xaml" />
88+
<Reference Include="System.Xml" />
89+
<Reference Include="WindowsBase" />
90+
</ItemGroup>
91+
<ItemGroup>
92+
<COMReference Include="EnvDTE">
93+
<Guid>{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}</Guid>
94+
<VersionMajor>8</VersionMajor>
95+
<VersionMinor>0</VersionMinor>
96+
<Lcid>0</Lcid>
97+
<WrapperTool>primary</WrapperTool>
98+
<Isolated>False</Isolated>
99+
<EmbedInteropTypes>False</EmbedInteropTypes>
100+
</COMReference>
101+
<COMReference Include="Microsoft.VisualStudio.CommandBars">
102+
<Guid>{1CBA492E-7263-47BB-87FE-639000619B15}</Guid>
103+
<VersionMajor>8</VersionMajor>
104+
<VersionMinor>0</VersionMinor>
105+
<Lcid>0</Lcid>
106+
<WrapperTool>primary</WrapperTool>
107+
<Isolated>False</Isolated>
108+
<EmbedInteropTypes>False</EmbedInteropTypes>
109+
</COMReference>
110+
<COMReference Include="stdole">
111+
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
112+
<VersionMajor>2</VersionMajor>
113+
<VersionMinor>0</VersionMinor>
114+
<Lcid>0</Lcid>
115+
<WrapperTool>primary</WrapperTool>
116+
<Isolated>False</Isolated>
117+
<EmbedInteropTypes>False</EmbedInteropTypes>
118+
</COMReference>
119+
</ItemGroup>
120+
<ItemGroup>
121+
<Compile Include="ImageVisualizerController.cs" />
122+
<Compile Include="Guids.cs" />
123+
<Compile Include="imageviewer.xaml.cs">
124+
<DependentUpon>imageviewer.xaml</DependentUpon>
125+
</Compile>
126+
<Compile Include="Resources.Designer.cs">
127+
<AutoGen>True</AutoGen>
128+
<DesignTime>True</DesignTime>
129+
<DependentUpon>Resources.resx</DependentUpon>
130+
</Compile>
131+
<Compile Include="GlobalSuppressions.cs" />
132+
<Compile Include="ImageVisualizerPackage.cs" />
133+
<Compile Include="Properties\AssemblyInfo.cs" />
134+
<Compile Include="PkgCmdID.cs" />
135+
</ItemGroup>
136+
<ItemGroup>
137+
<EmbeddedResource Include="Resources.resx">
138+
<Generator>ResXFileCodeGenerator</Generator>
139+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
140+
<SubType>Designer</SubType>
141+
</EmbeddedResource>
142+
<EmbeddedResource Include="VSPackage.resx">
143+
<MergeWithCTO>true</MergeWithCTO>
144+
<ManifestResourceName>VSPackage</ManifestResourceName>
145+
</EmbeddedResource>
146+
</ItemGroup>
147+
<ItemGroup>
148+
<None Include="source.extension.vsixmanifest">
149+
<SubType>Designer</SubType>
150+
</None>
151+
</ItemGroup>
152+
<ItemGroup>
153+
<None Include="Key.snk" />
154+
</ItemGroup>
155+
<ItemGroup>
156+
<VSCTCompile Include="Auto.vsct">
157+
<ResourceName>Menus.ctmenu</ResourceName>
158+
</VSCTCompile>
159+
</ItemGroup>
160+
<ItemGroup>
161+
<None Include="Resources\Images.png" />
162+
</ItemGroup>
163+
<ItemGroup>
164+
<Content Include="Resources\Package.ico" />
165+
</ItemGroup>
166+
<ItemGroup>
167+
<Page Include="imageviewer.xaml">
168+
<Generator>MSBuild:Compile</Generator>
169+
<SubType>Designer</SubType>
170+
</Page>
171+
</ItemGroup>
172+
<PropertyGroup>
173+
<UseCodebase>true</UseCodebase>
174+
</PropertyGroup>
175+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
176+
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
177+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
178+
Other similar extension points exist, see Microsoft.Common.targets.
179+
<Target Name="BeforeBuild">
180+
</Target>
181+
<Target Name="AfterBuild">
182+
</Target>
183+
-->
184+
</Project>
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
4+
<StartAction>Program</StartAction>
5+
<StartProgram>C:\Program Files %28x86%29\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe</StartProgram>
6+
<StartArguments>/rootsuffix Exp</StartArguments>
7+
</PropertyGroup>
8+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
9+
<StartAction>Program</StartAction>
10+
<StartProgram>C:\Program Files %28x86%29\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe</StartProgram>
11+
<StartArguments>/rootsuffix Exp</StartArguments>
12+
</PropertyGroup>
13+
</Project>

0 commit comments

Comments
 (0)