To remove the preview badge in VS, you must perform two tasks. First delete a file in the VS install directory called $(InstallDir)\Common7\IDE\Microsoft.VisualStudio.PreviewBadge.pkgdef
and then execute devenv /UpdateConfiguration
.
To make that easier, do this:
- Copy the content of RemoveBadgeInVS.ps1 and save it to disk anywhere.
- Go to this website and scroll down to download Add_PS1_Run_as_administrator.reg and run it.
You can now right-click RemoveBadgeInVS.ps1 and select Run as administrator. This will remove the badge from any version of Visual Studio you've got installed.