GitHub script syntax error in visual studio 2022

Richard Groller 71 Reputation points
2023-03-11T18:31:29.7566667+00:00

how do i resolve the GitHub script syntax error in visual studio 2022?

User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,593 questions
{count} vote

Accepted answer
  1. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2023-03-13T09:29:38.31+00:00

    Hi @Richard Groller

    Welcome to Microsoft Q&A!

    Can you tell me how you sign in to GitHub?

    If you want to sign in VS with GitHub account, please add it via File > Account Settings > Add > GitHub

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Andrew Reyling 10 Reputation points
    2024-01-26T19:59:31.0533333+00:00

    This can also be avoided for some by choosing not to sign in, then going to File > Account Settings similar to above but choosing "System web browser" instead of "Embedded web browser". devenv_ekWe395iG2

    2 people found this answer helpful.
    0 comments No comments

  2. Michael Richardson 0 Reputation points
    2024-03-14T16:44:07.87+00:00

    I found my solution via this link. In short, open Tools > Options > Account > "Add and reauth ... using" and select "System web browser" if it's set to "Embedded Web Browser".

    0 comments No comments