Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the Github Actions section in the Visual Studio solution view?

I am using Visual Studio 2022 17.5 and I am not sure if this is a new feature of just this version, but in one of my solutions (and only one - that's the strange thing) I now can see the Github Actions directly in the solution view (which is great): enter image description here

In general, how can I get this section/view?

like image 282
stefan.at.wpf Avatar asked Dec 08 '25 10:12

stefan.at.wpf


1 Answers

See: https://blog.elmah.io/9-hidden-features-in-visual-studio-that-you-may-not-know/

In the second feature about 'GitHub Actions in Solution Explorer' it states:

For now, the 'GitHub Actions' node only shows as long as there's an ASP.NET Core project in the solution. I'm hoping Microsoft will include this for all project types.

As a test I added an ASP.NET Core project to a class library containing some GitHub Actions. After reloading the project, these became visible.

I'm using VS 17.8.3

Edit: You need to open the solution from within the VS IDE to have the GitHub Actions node showing in the Solution Explorer. Opening the solution by double clicking the solution in the File Explorer does not show the node. This is a known bug in VS. See comments below.

like image 120
Michel de Kok Avatar answered Dec 10 '25 09:12

Michel de Kok