Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Top-level GUIDs (those without IDSymbols) now generate both a string constant and a Guid field
  • This matches the behavior of command set GUIDs which already have GuidString and Guid members

Before:

public static readonly Guid guidSamplePackage = new Guid("...");

After:

public const string guidSamplePackageString = "...";
public static readonly Guid guidSamplePackage = new Guid(guidSamplePackageString);

Test plan

  • Build generators project
  • Verify sample project generates updated VSCT code

Top-level GUIDs (those without IDSymbols) now generate both a string
constant and a Guid field, consistent with command set GUIDs.
@CalvinAllen CalvinAllen force-pushed the feat/generators/vsct-guid-string branch from 5de13ba to 45445c2 Compare December 30, 2025 22:56
@CalvinAllen CalvinAllen merged commit 2a0c7c3 into main Dec 30, 2025
3 checks passed
@CalvinAllen CalvinAllen deleted the feat/generators/vsct-guid-string branch December 30, 2025 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants