You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2017. It is now read-only.
I have a directory that contains Visual Studio 2013 sln files.
When I double-click on the sln files, they open in Visual Studio 2013 without issues.
However, after running migrateToAutomaticPackageRestore.ps1 on that directory, double-clicking on the sln files opens them in Visual Studio 2015.
Files with the extension sln are associated with the "Microsoft Visual Studio Version Selector".
The problem is that the sln files were originally saved using ANSI encoding, but migrateToAutomaticPackageRestore.ps1 changed them to use UTF-8 encoding and this is what caused the issue.
Re-saving the sln files back to ANSI, and then double-clicking them opens in Visual Studio 2013 as expected.
I'm thinking the script should save the files in their original encoding.