Skip to content

guid for Visual Studio command prompt/PowerShell Profile #12782

Answered by heaths
ShinjiShioda asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the GUID is based on the instance ID which is automatically generated when installed.

const auto seed = GetProfileGuidSeed(instance);

The instance ID must be unique across different Visual Studio installations to avoid collisions: the same VS edition can be installed multiple times, which comes in handy for previewing different channels without disrupting team standards. Perhaps seeding the GUID with the instance ID wasn't ideal, but I'm not sure there is an ideal seed. Can't use the display name because it's not unique (for the reason mentioned above) and using the installation pat…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@DHowett
Comment options

Comment options

You must be logged in to vote
1 reply
@ShinjiShioda
Comment options

Answer selected by DHowett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants