All Projects → madskristensen → VsixSynchronizer

madskristensen / VsixSynchronizer

Licence: other
A Visual Studio extension

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to VsixSynchronizer

Cyotek.AddProjects
The Add Projects extension is a simple Visual Studio extension that makes it easy to add multiple projects to your solution.
Stars: ✭ 20 (+25%)
Mutual labels:  vsix, visual-studio-extension
VerilogLanguageExtension
Verilog Language Extension for Visual Studio
Stars: ✭ 16 (+0%)
Mutual labels:  vsix, visual-studio-extension
Community.VisualStudio.Toolkit
Making it easier to write Visual Studio extensions
Stars: ✭ 165 (+931.25%)
Mutual labels:  vsix, visual-studio-extension
Unchase.Odata.Connectedservice
📜 A Visual Studio extension for connecting to OData services with generating client-side C# proxy-classes
Stars: ✭ 39 (+143.75%)
Mutual labels:  vsix, visual-studio-extension
KnownMonikersExplorer
A Visual Studio extension
Stars: ✭ 21 (+31.25%)
Mutual labels:  vsix, visual-studio-extension
Codist
A visual studio extension which enhances syntax highlighting, quick info (tooltip), navigation bar, scrollbar, display quality and brings smart tool bar to code editor.
Stars: ✭ 134 (+737.5%)
Mutual labels:  vsix, visual-studio-extension
Unchase.OpenAPI.Connectedservice
📜 Visual Studio extension to generate OpenAPI (Swagger) web service reference.
Stars: ✭ 69 (+331.25%)
Mutual labels:  vsix, visual-studio-extension
solution-snapshotter
Take your existing .NET project and export it as a ready-to-install Visual Studio extension!
Stars: ✭ 27 (+68.75%)
Mutual labels:  vsix, visual-studio-extension
OptionsSample
A Visual Studio extension sample
Stars: ✭ 14 (-12.5%)
Mutual labels:  vsix, visual-studio-extension
vsixbootstrapper
An installer that can be chained with other packages to locate the latest VSIXInstaller.exe to use for installing VSIX extensions.
Stars: ✭ 19 (+18.75%)
Mutual labels:  vsix
vsSolutionBuildEvent
🎛 Event-Catcher with variety of advanced Actions to service projects, libraries, build processes, runtime environment of the Visual Studio, MSBuild Tools, and …
Stars: ✭ 66 (+312.5%)
Mutual labels:  vsix
Botbuilder Samples
Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Bot Framework SDK!
Stars: ✭ 3,484 (+21675%)
Mutual labels:  vsix
fsharp-linting-for-vs
Visual Studio Linter for F#
Stars: ✭ 33 (+106.25%)
Mutual labels:  vsix
PrivateGalleryCreator
Create private extension galleries for Visual Studio
Stars: ✭ 96 (+500%)
Mutual labels:  vsix
D365FONinjaDevTools
To make of you a Ninja Developer in Dynamics 365 For Finance and Operations
Stars: ✭ 70 (+337.5%)
Mutual labels:  visual-studio-extension
fantomas-for-vs
Visual Studio Formatter for F#
Stars: ✭ 43 (+168.75%)
Mutual labels:  vsix
Vsvim
Vim Emulator Plugin for Visual Studio 2015+
Stars: ✭ 3,232 (+20100%)
Mutual labels:  vsix
Madskristensen.VisualStudio.SDK
Visual Studio SDK meta packages
Stars: ✭ 29 (+81.25%)
Mutual labels:  vsix
EncodingNormalior
规范化文件编码。Make the file's encoding standard.
Stars: ✭ 58 (+262.5%)
Mutual labels:  visual-studio-extension
DpdtInject
Highly efficient compile-time general purpose DI container based on C# source generators.
Stars: ✭ 25 (+56.25%)
Mutual labels:  visual-studio-extension

VSIX Syncronizer

Build status

Provides the ability to generate code-behind files for .vsixmanfiest and .vsct files in managed code to make the information easy to consume from the rest of the extension.

Download this extension from the Open VSIX Gallery.


To enable the synchronization of .vsct and/or .vsixmanifest files, simply right-click the file in Solution Explorer and hit Synchronize To Code File.

Context menu

This will set the Custom Tool property on the file as shown here in the Property Grid:

Property Grid

It will apply the VsctGenerator for .vsct files and VsixManifestGenerator to .vsixmanifest files.

A code-behind file is then being generated and kept up-to-date with any changes to the .vsct or .vsixmanifest files.

Code Behind

Generated code-behind files

The code being generated are C# classes that compiles like regular C# files into your project. Here's examples of what those classes would look like:

.vsct files

// ------------------------------------------------------------------------------
// <auto-generated>
//     This file was generated by VSIX Syncronizer
// </auto-generated>
// ------------------------------------------------------------------------------
namespace VsixSynchronizer
{
    using System;
    
    /// <summary>
    /// Helper class that exposes all GUIDs used across VS Package.
    /// </summary>
    internal sealed partial class PackageGuids
    {
        public const string guidPackageString = "8c737258-7da1-4314-97e9-cb61f7cf8d22";
        public static Guid guidPackage = new Guid(guidPackageString);

        public const string guidUIContextString = "f19443c0-4f6b-45c3-bea5-80c1f8a538dd";
        public static Guid guidUIContext = new Guid(guidUIContextString);

        public const string guidVsixSynchronizerCmdSetString = "c6562423-a610-432a-8efa-ca46df10ddd6";
        public static Guid guidVsixSynchronizerCmdSet = new Guid(guidVsixSynchronizerCmdSetString);
    }
    /// <summary>
    /// Helper class that encapsulates all CommandIDs uses across VS Package.
    /// </summary>
    internal sealed partial class PackageIds
    {
        public const int ToggleVsctSyncId = 0x0200;
    }
}

.vsixmanifest files

// ------------------------------------------------------------------------------
// <auto-generated>
//     This file was generated by VSIX Syncronizer
// </auto-generated>
// ------------------------------------------------------------------------------
namespace VsixSynchronizer
{
    internal sealed partial class Vsix
    {
        public const string Id = "d7834c28-6a0f-4b5a-b3e0-735dc78cd439";
        public const string Name = "VSIX Synchronizer";
        public const string Description = @"Provides the ability to generate code-behind files for .vsixmanfiest and .vsct files in managed code to make the information easy to consume from the rest of the extension.";
        public const string Language = "en-US";
        public const string Version = "1.0";
        public const string Author = "Mads Kristensen";
        public const string Tags = "vsix, vssdk";
    }
}

Now you can consume those GUIDs and IDs from the .vsct files and the metadata about your extension from the .vsixmanifest files.

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].