Github actions are not shown in solution explorer in Visual Studio 2022

115 Views Asked by At

In my newly created VS project that is created from "React and ASP.NET Core" template, I have github actions definitions automatically created by github in %ROOT%\.github\workflows\ folder, but I don't see these files in the Solution Explorer window in Visual Studio.

I saw somewhere that it doesn't work yet if the solution doesn't contain ASP.NET Core project, but in my case, I do have an ASP.NET Core Web API project. Can someone shed some light on this?

To clarify: I mean auto finding github action files and grouping them under folder like:

enter image description here

1

There are 1 best solutions below

1
John Vottero On

How did you open the solution? Try starting Visual Studio and then use File->Open... to open the solution.

There is a known problem with "GitHub Actions" missing with opening via right-click or other means.

https://developercommunity.visualstudio.com/t/GitHub-Actions-disappeared-from-Solution/10448199?ftype=problem&q=GitHub+Actions