Skip to content

Instantly share code, notes, and snippets.

@asheroto
Last active August 29, 2021 09:14
Show Gist options
  • Save asheroto/a79979217c55224d756d57bf49e2c36a to your computer and use it in GitHub Desktop.
Save asheroto/a79979217c55224d756d57bf49e2c36a to your computer and use it in GitHub Desktop.
Fix .sln file icon (Visual Studio) if it is wrong/broken/blank in Windows Explorer
  1. Open regedit
  2. Delete the key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.sln
  3. Delete the key HKEY_CLASSES_ROOT\.sln
  4. Right-click an sln file and click Open With
  5. Click More Apps, then Look for another app
  6. Specify the path to VSLauncher: C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment