15

With the latest update of Visual Studio 2022 (version 17.7.0 Preview 4.0), I now have an seemingly non-removable node in Solution Explorer with the Github logo labeled 'Github Actions'.

It's not the end of the world, but it becomes one more thing that I don't use that further clutters up the already cluttered UI. My repository isn't even hosted on Github, so it's completely pointless. It seems like it's just more adware for Microsoft.

Can it be removed? Is it somehow really useful for even non-Github users, and I'm just missing the point?

More:

Some additional info. I have a folder that has been placed in my solution folder called .github - It contains one empty folder called workflows. I can delete it, but it returns at some point always.

Further - inside my .git folder, there is a file called ms-persist.xml. I didn't add that file, and I've never seen it before. These are the contents:

<?xml version="1.0" encoding="utf-8"?>
<PendingCommit>
  <CommitComment />
  <WorkItems />
  <PinnedBranches />
  <PublishPrompt Enabled="True" />
  <RepositorySorts />
</PendingCommit>

I'm hesitant to mess with it without knowing what it is and what the implications might be. But if anyone knows, by all means.

dgo
  • 922

1 Answers1

6

Apparently, it wasn't intentional this node showed up for all solutions. A MSFT employee stated:

  • VS 17.8 Preview 2 includes a fix that stops the new node from showing up when the repo is not hosted on github.com (untested).
  • VS 17.7.1 will also include that same fix (further posts suggest it was actually only released in VS 17.7.2 as of Aug 22nd, 2023).
  • We are also working on a new entry under Tools > Options that turns the node off completely, even for repos hosted on github.com, to be expected in "soon after".

Source: https://developercommunity.visualstudio.com/t/Remove-Github-actions-from-solution-expl/10433404#T-N10443887

Ramhound
  • 44,080
LWChris
  • 230