{"id":21853043,"url":"https://github.com/madskristensen/vsixsynchronizer","last_synced_at":"2025-04-14T16:34:13.612Z","repository":{"id":41243362,"uuid":"131323769","full_name":"madskristensen/VsixSynchronizer","owner":"madskristensen","description":"A Visual Studio extension","archived":false,"fork":false,"pushed_at":"2025-03-12T21:25:23.000Z","size":98,"stargazers_count":16,"open_issues_count":5,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T05:12:23.809Z","etag":null,"topics":["visual-studio-extension","vsct","vsix","vsixmanifest"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madskristensen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"madskristensen"}},"created_at":"2018-04-27T17:01:12.000Z","updated_at":"2025-03-12T21:25:27.000Z","dependencies_parsed_at":"2023-01-25T23:01:45.944Z","dependency_job_id":null,"html_url":"https://github.com/madskristensen/VsixSynchronizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madskristensen%2FVsixSynchronizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madskristensen%2FVsixSynchronizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madskristensen%2FVsixSynchronizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madskristensen%2FVsixSynchronizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madskristensen","download_url":"https://codeload.github.com/madskristensen/VsixSynchronizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248916886,"owners_count":21182883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["visual-studio-extension","vsct","vsix","vsixmanifest"],"created_at":"2024-11-28T01:19:52.080Z","updated_at":"2025-04-14T16:34:13.590Z","avatar_url":"https://github.com/madskristensen.png","language":"C#","funding_links":["https://github.com/sponsors/madskristensen"],"categories":[],"sub_categories":[],"readme":"# VSIX Syncronizer\n\n[![Build status](https://ci.appveyor.com/api/projects/status/phmno0fpmcijlir3?svg=true)](https://ci.appveyor.com/project/madskristensen/vsixsynchronizer)\n\nProvides 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.\n\nDownload this extension from the [Open VSIX Gallery](http://vsixgallery.com/extension/d7834c28-6a0f-4b5a-b3e0-735dc78cd439/).\n\n---------------------------------------\n\nTo enable the synchronization of .vsct and/or .vsixmanifest files, simply right-click the file in Solution Explorer and hit **Synchronize To Code File**.\n\n![Context menu](art/context-menu.png)\n\nThis will set the Custom Tool property on the file as shown here in the Property Grid:\n\n![Property Grid](art/property-grid.png)\n\nIt will apply the *VsctGenerator* for .vsct files and *VsixManifestGenerator* to .vsixmanifest files.\n\nA code-behind file is then being generated and kept up-to-date with any changes to the .vsct or .vsixmanifest files.\n\n![Code Behind](art/code-behind.png)\n\n## Generated code-behind files \nThe 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:\n\n### .vsct files\n\n```c# \n// ------------------------------------------------------------------------------\n// \u003cauto-generated\u003e\n//     This file was generated by VSIX Syncronizer\n// \u003c/auto-generated\u003e\n// ------------------------------------------------------------------------------\nnamespace VsixSynchronizer\n{\n    using System;\n    \n    /// \u003csummary\u003e\n    /// Helper class that exposes all GUIDs used across VS Package.\n    /// \u003c/summary\u003e\n    internal sealed partial class PackageGuids\n    {\n        public const string guidPackageString = \"8c737258-7da1-4314-97e9-cb61f7cf8d22\";\n        public static Guid guidPackage = new Guid(guidPackageString);\n\n        public const string guidUIContextString = \"f19443c0-4f6b-45c3-bea5-80c1f8a538dd\";\n        public static Guid guidUIContext = new Guid(guidUIContextString);\n\n        public const string guidVsixSynchronizerCmdSetString = \"c6562423-a610-432a-8efa-ca46df10ddd6\";\n        public static Guid guidVsixSynchronizerCmdSet = new Guid(guidVsixSynchronizerCmdSetString);\n    }\n    /// \u003csummary\u003e\n    /// Helper class that encapsulates all CommandIDs uses across VS Package.\n    /// \u003c/summary\u003e\n    internal sealed partial class PackageIds\n    {\n        public const int ToggleVsctSyncId = 0x0200;\n    }\n}\n```\n\n### .vsixmanifest files\n\n```c#\n// ------------------------------------------------------------------------------\n// \u003cauto-generated\u003e\n//     This file was generated by VSIX Syncronizer\n// \u003c/auto-generated\u003e\n// ------------------------------------------------------------------------------\nnamespace VsixSynchronizer\n{\n    internal sealed partial class Vsix\n    {\n        public const string Id = \"d7834c28-6a0f-4b5a-b3e0-735dc78cd439\";\n        public const string Name = \"VSIX Synchronizer\";\n        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.\";\n        public const string Language = \"en-US\";\n        public const string Version = \"1.0\";\n        public const string Author = \"Mads Kristensen\";\n        public const string Tags = \"vsix, vssdk\";\n    }\n}\n```\n\nNow you can consume those GUIDs and IDs from the .vsct files and the metadata about your extension from the .vsixmanifest files.\n\n## License\n[Apache 2.0](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadskristensen%2Fvsixsynchronizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadskristensen%2Fvsixsynchronizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadskristensen%2Fvsixsynchronizer/lists"}