Quick Tip: Generate GUIDs in Visual Studio 2013

Here’s something helpful. If you want to generate a random GUID (perhaps for unit testing), you can easily do this from the Visual Studio 2013 tools menu. Click on Tools –> Create GUID to open up the “Create GUID” options window.



There are many different GUID formats so choose the one that suits you. I selected option 4 which generates a basic GUID inside curly braces. Click on the Copy button and you’re away laughing!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s