If you’re using WIX and you’re adding components to the product file by hand then you’ve probably found yourself creating and cutting/pasting a lot of GUIDs which can be a real pain and productivity killer. There is the “Create GUID” menu option under tools but that still requires calling and then cutting / pasting. The other day one of the other members on our team came up with these steps to create a macro that will create and insert a new GUID and can be bound to a keyboard short cut.
- Go to Tools – Macros – Macro Explorer and paste the following into a module:
- Then assign it a keyboard shortcut through Tools – Environment/Keyboard, you can generate a GUID in-place with a simple keyboard shortcut.
No more copy/paste
As part of his fantastic ‘What is .NET standard‘ presentation at DDD12, Adam Ralph provided an amazing amount of detail in such a short amount of time. One of the most valuable points, which is completely obvious when you think about it, is how you should work with .NET standard when creating libraries. NET standard now comes in a multitude of flavours: currently 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 and 2.0. When starting out . . .
If you’re trying to access a class library (.NET Standard) from a traditional console application (in VS2017 those can be found under ‘Windows Classic Desktop’) you will run into problems; which can feel a little strange for something that was pretty simple in VS2015 and earlier. You can add a reference to the class library project (Resharper will even volunteer to add the dependency / namespace reference if you don’t already have it). But the . . .