Replies: 1 comment 11 replies
-
Hi @rfalanga, The error you're seeing typically happens because the user running the self-hosted runner doesn't have the required permissions to install .NET in C:\Program Files\dotnet.
dotnet-install --InstallDir C:\Users\YourUser\dotnet |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Over a year ago I set up a self-hosted runner on my Windows 11 Pro desktop. I used it back then, fine. However, I haven't used it in over a year. Yesterday, I tried using it again and discovered that the repo I had set up to use a self-hosted runner, was no longer associated with a self-hosted runner. So, I set it up with a self-hosted runner, then tried to use it. However, it gave me this error:
Looking at my
C:\Program Files
folder, I do see a folder there nameddotnet
. And it has files within it that were created yesterday. I'm confused; it looks like running the GitHub Workflow that would invoke the self-hosted runner, worked. So, why does it tell me this? Here's a snippet from the YAML file:Beta Was this translation helpful? Give feedback.
All reactions