.net upgrade assistant command error :Package manager console running in execution mode continuously

Sanjay Narod 1 Reputation point
2022-11-25T16:50:07.827+00:00

@Cathy Sullivan @Cathy Sullivan @Cathy Sullivan @Balasubramanian S

Hello all,

I was not sure who was the user in below .net conf event for upgrade assistant. So mentioned with wild guess. Please don't mind if any of you mentioned above are not part of that event host and presenter.

Event link:

https://learn.microsoft.com/en-us/events/dotnetconf-2021/upgrading-from-net-framework-to-net-6

So if anyone can answer my question below ,

In the event presenter video at time 15:28 it is mentioned about command execution but have not specified which keyword has been entered or just pressed enter button?

Because for me through the package manager console i am trying to run that upgrade command console is still seems in execution mode and i am not able to do neither input key or press enter button for more than 3-4 hours.

Any help is greatly appreciated 264316-img-20221125-220420-305.jpg.

Developer technologies | .NET | Other
Developer technologies | .NET | .NET CLI
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,156 Reputation points Microsoft External Staff
    2022-11-28T08:23:48.17+00:00

    Hi @Sanjay Narod ,

    Welcome to Microsoft Q&A!

    You can install the .NET Upgrade Assistant tool from Package Manager Console.

    If you want to run the tool, please open a Command Prompt terminal and run the following command:
    upgrade-assistant upgrade <Path to csproj or sln to upgrade>

    Then, just press “Enter” to do the steps.

    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.


  2. Sanjay Narod 1 Reputation point
    2022-12-02T09:32:00.927+00:00

    This issue has been resolved by running the upgrade command on VS Code version 1.73.1 terminal.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.