awaescher / RepoZ

👨‍💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
MIT License
1.01k stars 93 forks source link

Open sln files #116

Closed henriksen closed 4 years ago

henriksen commented 4 years ago

Checks the root directory of the repository for *,sln files and adds a "Open " option to the context menu, allowing the user to open the solution directly in Visual Studio.
image

The motivation was that we have several repos and this provides a nice shortcut to finding a repo and opening the solution directly in Visual Studio.

It just starts the file directly since it should be associated with Visual Studio and should open in the correct VS version installed on the user's computer.

I guess it could be expanded on by looking in subfolders (worried about performance), some common subfolders (for instance /src/) or perhaps even some config. Wanted to start small and see if you want this in your app and maybe expand on it later if there's any interest.

Could probably be used on the Mac version as well with Visual Studio for Mac, but I don't have a Mac so I don't know if it would work with just starting the .sln file.

henriksen commented 4 years ago

The Windows CI check is failing since external PRs cannot access CI secrets. Have no idea why the mac CI is failing. Haven't touched the project that's failing there.

awaescher commented 4 years ago

The Mac CI build is broken for a while now. Microsoft changed internals in their Mac build hosts, I could not figure out how to solve it yet. Don't mind 🤷

And again, thank you very much 🎉

awaescher commented 4 years ago

Version 5.4 was just released 🥳