-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
568 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion> | ||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
<UseCodebase>true</UseCodebase> | ||
<TargetFrameworkProfile /> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<SignAssembly>true</SignAssembly> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<ProjectGuid>{01705E0A-F3CC-403B-A2C8-73C7D42CA44A}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>MarkMpn.Sql4Cds.SSMS.19</RootNamespace> | ||
<AssemblyName>MarkMpn.Sql4Cds.SSMS</AssemblyName> | ||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | ||
<GeneratePkgDefFile>true</GeneratePkgDefFile> | ||
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer> | ||
<IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer> | ||
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment> | ||
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory> | ||
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> | ||
<StartAction>Program</StartAction> | ||
<StartProgram Condition="'$(DevEnvDir)' != ''">$(DevEnvDir)devenv.exe</StartProgram> | ||
<StartArguments>/rootsuffix Exp</StartArguments> | ||
<RuntimeIdentifiers>win</RuntimeIdentifiers> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>TRACE;DEBUG;Microsoft_Data_SqlClient;SSMS21</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<CopyVsixExtensionFiles>True</CopyVsixExtensionFiles> | ||
<CopyVsixExtensionLocation>C:\Program Files\Microsoft SQL Server Management Studio 21\Preview\Common7\IDE\Extensions\MarkMpn.Sql4Cds.SSMS</CopyVsixExtensionLocation> | ||
<DeployExtension>False</DeployExtension> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE;Microsoft_Data_SqlClient;SSMS21</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="app.config" /> | ||
<None Include="Key.snk" /> | ||
<None Include="source.extension.vsixmanifest"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<VSCTCompile Include="Sql4CdsPackage.vsct"> | ||
<ResourceName>Menus.ctmenu</ResourceName> | ||
</VSCTCompile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="Microsoft.SqlServer.ConnectionInfo, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>References\Microsoft.SqlServer.ConnectionInfo.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.SqlServer.RegSvrEnum, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>References\Microsoft.SqlServer.RegSvrEnum.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.VisualStudio.CommandBars, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
<EmbedInteropTypes>False</EmbedInteropTypes> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="PresentationFramework" /> | ||
<Reference Include="SQLEditors"> | ||
<HintPath>References\SQLEditors.dll</HintPath> | ||
</Reference> | ||
<Reference Include="SqlPackageBase"> | ||
<HintPath>References\SqlPackageBase.dll</HintPath> | ||
</Reference> | ||
<Reference Include="SqlWorkbench.Interfaces"> | ||
<HintPath>References\SqlWorkbench.Interfaces.dll</HintPath> | ||
</Reference> | ||
<Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
<EmbedInteropTypes>False</EmbedInteropTypes> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Activities" /> | ||
<Reference Include="System.Activities.Presentation" /> | ||
<Reference Include="System.ComponentModel.Composition" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Design" /> | ||
<Reference Include="System.DirectoryServices" /> | ||
<Reference Include="System.DirectoryServices.AccountManagement" /> | ||
<Reference Include="System.Drawing" /> | ||
<Reference Include="System.IdentityModel" /> | ||
<Reference Include="System.Net" /> | ||
<Reference Include="System.Net.Http.WebRequest" /> | ||
<Reference Include="System.Numerics" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.Security" /> | ||
<Reference Include="System.ServiceModel" /> | ||
<Reference Include="System.ServiceModel.Web" /> | ||
<Reference Include="System.Web" /> | ||
<Reference Include="System.Web.Services" /> | ||
<Reference Include="System.Windows.Forms" /> | ||
<Reference Include="System.Workflow.Activities" /> | ||
<Reference Include="System.Workflow.ComponentModel" /> | ||
<Reference Include="System.Workflow.Runtime" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="VSPackage.resx"> | ||
<MergeWithCTO>true</MergeWithCTO> | ||
<ManifestResourceName>VSPackage</ManifestResourceName> | ||
<SubType>Designer</SubType> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\MarkMpn.Sql4Cds.Controls\MarkMpn.Sql4Cds.Controls.csproj"> | ||
<Project>{04c2d073-de54-4628-b876-5965d0b75b6e}</Project> | ||
<Name>MarkMpn.Sql4Cds.Controls</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\MarkMpn.Sql4Cds.Engine\MarkMpn.Sql4Cds.Engine.csproj"> | ||
<Project>{c77b731d-e55c-4197-b96c-2b23eb9f56ef}</Project> | ||
<Name>MarkMpn.Sql4Cds.Engine</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.CrmSdk.XrmTooling.CoreAssembly"> | ||
<Version>9.1.1.32</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Data.SqlClient"> | ||
<Version>5.2.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime"> | ||
<Version>14.3.25408</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.VisualStudio.Interop"> | ||
<Version>17.12.40391</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.VisualStudio.OLE.Interop"> | ||
<Version>17.12.40391</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes"> | ||
<Version>15.0.10</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.VisualStudio.Shell.15.0"> | ||
<Version>17.12.40392</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.VSSDK.BuildTools"> | ||
<Version>17.4.2119</Version> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="System.Runtime"> | ||
<Version>4.3.1</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Resources\FetchXml2SqlCommand.png" /> | ||
<Content Include="Resources\Sql2FetchXmlCommand.png" /> | ||
<Content Include="Resources\Sql2FetchXmlCommandPackage.ico" /> | ||
<Content Include="Resources\Sql2MCommand.png" /> | ||
</ItemGroup> | ||
<Import Project="..\MarkMpn.Sql4Cds.SSMS\MarkMpn.Sql4Cds.SSMS.projitems" Label="Shared" /> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("MarkMpn.Sql4Cds.SSMS")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Mark Carrington")] | ||
[assembly: AssemblyProduct("MarkMpn.Sql4Cds.SSMS")] | ||
[assembly: AssemblyCopyright("Copyright © 2021 - 2024 Mark Carrington")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] | ||
[assembly: AssemblyInformationalVersion("1.0.0.0")] |
Binary file added
BIN
+122 KB
MarkMpn.Sql4Cds.SSMS.21/References/Microsoft.SqlServer.ConnectionInfo.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
|
||
<!-- This is the file that defines the actual layout and type of the commands. | ||
It is divided in different sections (e.g. command definition, command | ||
placement, ...), with each defining a specific set of properties. | ||
See the comment before each section for more details about how to | ||
use it. --> | ||
|
||
<!-- The VSCT compiler (the tool that translates this file into the binary | ||
format that VisualStudio will consume) has the ability to run a preprocessor | ||
on the vsct file; this preprocessor is (usually) the C++ preprocessor, so | ||
it is possible to define includes and macros with the same syntax used | ||
in C++ files. Using this ability of the compiler here, we include some files | ||
defining some of the constants that we will use inside the file. --> | ||
|
||
<!--This is the file that defines the IDs for all the commands exposed by VisualStudio. --> | ||
<Extern href="stdidcmd.h" /> | ||
|
||
<!--This header contains the command ids for the menus provided by the shell. --> | ||
<Extern href="vsshlids.h" /> | ||
|
||
<!--The Commands section is where commands, menus, and menu groups are defined. | ||
This section uses a Guid to identify the package that provides the command defined inside it. --> | ||
<Commands package="guidSql4CdsPackage"> | ||
<!-- Inside this section we have different sub-sections: one for the menus, another | ||
for the menu groups, one for the buttons (the actual commands), one for the combos | ||
and the last one for the bitmaps used. Each element is identified by a command id that | ||
is a unique pair of guid and numeric identifier; the guid part of the identifier is usually | ||
called "command set" and is used to group different command inside a logically related | ||
group; your package should define its own command set in order to avoid collisions | ||
with command ids defined by other packages. --> | ||
<Menus> | ||
<Menu guid="guidSql4CdsPackageCmdSet" id="Toolbar" type="Toolbar"> | ||
<CommandFlag>DefaultDocked</CommandFlag> | ||
<Strings> | ||
<ButtonText>SQL 4 CDS</ButtonText> | ||
<CommandName>SQL 4 CDS</CommandName> | ||
</Strings> | ||
</Menu> | ||
</Menus> | ||
|
||
<!-- In this section you can define new menu groups. A menu group is a container for | ||
other menus or buttons (commands); from a visual point of view you can see the | ||
group as the part of a menu contained between two lines. The parent of a group | ||
must be a menu. --> | ||
<Groups> | ||
<Group guid="guidSql4CdsPackageCmdSet" id="ToolbarGroup" priority="0x0000"> | ||
<Parent guid="guidSql4CdsPackageCmdSet" id="Toolbar" /> | ||
</Group> | ||
</Groups> | ||
|
||
<!--Buttons section. --> | ||
<!--This section defines the elements the user can interact with, like a menu command or a button | ||
or combo box in a toolbar. --> | ||
<Buttons> | ||
<!--To define a menu group you have to specify its ID, the parent menu and its display priority. | ||
The command is visible and enabled by default. If you need to change the visibility, status, etc, you can use | ||
the CommandFlag node. | ||
You can add more than one CommandFlag node e.g.: | ||
<CommandFlag>DefaultInvisible</CommandFlag> | ||
<CommandFlag>DynamicVisibility</CommandFlag> | ||
If you do not want an image next to your command, remove the Icon node /> --> | ||
<Button guid="guidSql4CdsPackageCmdSet" id="Sql2FetchXmlCommandId" priority="0x0100" type="Button"> | ||
<Parent guid="guidSql4CdsPackageCmdSet" id="ToolbarGroup" /> | ||
<Icon guid="guidImages" id="bmpPic1" /> | ||
<CommandFlag>IconAndText</CommandFlag> | ||
<CommandFlag>DontCache</CommandFlag> | ||
<CommandFlag>DefaultDisabled</CommandFlag> | ||
<Strings> | ||
<ButtonText>FetchXML</ButtonText> | ||
<ToolTipText>Convert SQL to FetchXML</ToolTipText> | ||
</Strings> | ||
</Button> | ||
<Button guid="guidSql4CdsPackageCmdSet" id="FetchXml2SqlCommandId" priority="0x0100" type="Button"> | ||
<Parent guid="guidSql4CdsPackageCmdSet" id="ToolbarGroup" /> | ||
<Icon guid="guidImages1" id="bmpPic1" /> | ||
<CommandFlag>IconAndText</CommandFlag> | ||
<CommandFlag>DontCache</CommandFlag> | ||
<CommandFlag>DefaultDisabled</CommandFlag> | ||
<Strings> | ||
<ButtonText>SQL</ButtonText> | ||
<ToolTipText>Convert FetchXML to SQL</ToolTipText> | ||
</Strings> | ||
</Button> | ||
<Button guid="guidSql4CdsPackageCmdSet" id="Sql2MCommandId" priority="0x0100" type="Button"> | ||
<Parent guid="guidSql4CdsPackageCmdSet" id="ToolbarGroup" /> | ||
<Icon guid="guidImages2" id="bmpPic1" /> | ||
<CommandFlag>IconAndText</CommandFlag> | ||
<CommandFlag>DontCache</CommandFlag> | ||
<CommandFlag>DefaultDisabled</CommandFlag> | ||
<Strings> | ||
<ButtonText>M</ButtonText> | ||
<ToolTipText>Convert SQL to M for Power BI</ToolTipText> | ||
</Strings> | ||
</Button> | ||
</Buttons> | ||
|
||
<!--The bitmaps section is used to define the bitmaps that are used for the commands.--> | ||
<Bitmaps> | ||
<!-- The bitmap id is defined in a way that is a little bit different from the others: | ||
the declaration starts with a guid for the bitmap strip, then there is the resource id of the | ||
bitmap strip containing the bitmaps and then there are the numeric ids of the elements used | ||
inside a button definition. An important aspect of this declaration is that the element id | ||
must be the actual index (1-based) of the bitmap inside the bitmap strip. --> | ||
<Bitmap guid="guidImages" href="Resources\Sql2FetchXmlCommand.png" usedList="bmpPic1" /> | ||
<Bitmap guid="guidImages1" href="Resources\FetchXml2SqlCommand.png" usedList="bmpPic1" /> | ||
<Bitmap guid="guidImages2" href="Resources\Sql2MCommand.png" usedList="bmpPic1" /> | ||
</Bitmaps> | ||
</Commands> | ||
|
||
<Symbols> | ||
<!-- This is the package guid. --> | ||
<GuidSymbol name="guidSql4CdsPackage" value="{edc4d3ea-c057-45cc-9517-a1c77b6822e4}" /> | ||
|
||
<!-- This is the guid used to group the menu commands together --> | ||
<GuidSymbol name="guidSql4CdsPackageCmdSet" value="{fd809e45-c5a9-40cc-9f78-501dd3f71817}"> | ||
<IDSymbol name="ToolbarGroup" value="0x1020" /> | ||
<IDSymbol name="Toolbar" value="0x1010" /> | ||
<IDSymbol name="Sql2FetchXmlCommandId" value="0x0100" /> | ||
<IDSymbol name="FetchXml2SqlCommandId" value="0x0200" /> | ||
<IDSymbol name="Sql2MCommandId" value="0x0300" /> | ||
</GuidSymbol> | ||
|
||
<GuidSymbol name="guidImages" value="{4134aa85-5a36-4ce6-98e8-2186a7482e8a}"> | ||
<IDSymbol name="bmpPic1" value="1" /> | ||
</GuidSymbol> | ||
|
||
<GuidSymbol value="{eec144ec-cdab-4b5e-b7ac-1fcba8ecf93f}" name="guidImages1"> | ||
<IDSymbol name="bmpPic1" value="1" /> | ||
</GuidSymbol> | ||
|
||
<GuidSymbol value="{DD8ED865-8747-4FB4-8823-139EBF9A57A3}" name="guidImages2"> | ||
<IDSymbol name="bmpPic1" value="1" /> | ||
</GuidSymbol> | ||
</Symbols> | ||
</CommandTable> |
Oops, something went wrong.