I would like to pin an app to the Win 11 Start Menu in a C# program. Having searched on StackOverflow I found this (How to create start menu shortcut) which worked in that it created a shortcut in the Environment.SpecialFolder.CommonStartMenu directory but when I press the WinKey my app doesn't appear.
So, my question is:
How do you persuade Win 11 to show all of the shortcuts in the Environment.SpecialFolder.CommonStartMenu directory.
I did try restarting Windows Explorer but that didn't help.