Installing missing frameworks... forever with Framework Microsoft.NET.CoreFramework.Debug.2.2/X64 Microsoft.VCLibs.140.00.Debug/X64 is NOT installed

SmilingMoon 981 Reputation points
2020-06-09T04:00:29.067+00:00

After upgrading VS version yesterday, when I deploy UWP project it hangs on "Installing missing frameworks..." for already 5 hours.

Restarted computer & VS multiple times, VS repair, changed minimum target to latest, updated all nuget packages, nothing works.

Creating a new clean layout...
Copying files: Total 21 mb to layout...
Checking whether required frameworks are installed...
Framework: Microsoft.NET.CoreFramework.Debug.2.2/X64, app package version 2.2.28529.0 is not currently installed.
Framework: Microsoft.VCLibs.140.00.Debug/X64, app package version 14.0.27810.0 is not currently installed.
Installing missing frameworks...

My VS version is:
Microsoft Visual Studio Enterprise 2019
Version 16.6.1

Everything worked fine until upgrading VS.
Please help.

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. SmilingMoon 981 Reputation points
    2020-06-09T17:50:17.827+00:00

    Hello,

    NichoZhu~, thank you for your answer. The issue has been resolved by itself before I saw your answer.

    Here is how it's been fixed.

    I left the computer overnight after "Deploying." with the following message.
    " Installing missing frameworks..."

    Today, it's been fixed. It seems VS did its job. => Someone can tell me "Be more patient" :)

    Suggestion.
    Waiting for few hours for the command line output while deploying is, I think, good amount of patient.
    If it takes hours or days of task that must be done, that must be checked and done in VS upgrade. Or additional message or help must be provided.
    No developer can think of waiting that long while compiling and deploying app that used to work well after VS upgrade.

    This is the pain and trauma for us think many times and tries to avoid VS upgrade.
    (I postpone upgrade weeks actually, and again ended up this VS upgrade problem again.)
    => I wish VS team do better job for upgrade although they have excuse.

    Thank you!

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Josh Davis 1 Reputation point
    2020-12-02T06:21:24.337+00:00

    Just ran into this issue as well on Visual Studio Pro 16.8.2. Waiting 12 hours didn't do it for me. I also noticed that the Microsoft Store app was in a hung state - several app updates were wedged in "Installing..." but with no progress. Here's what I did to get unblocked:

    Reset Microsoft Store

    1. Open the Settings app and navigate to Apps
    2. Search for "Microsoft Store in the list and click it, then click "Advanced Options" that appears after clicking the app
    3. Scroll down and click the "Terminate" button
    4. Scroll down and click the "Reset" button - agree to the prompts that appear
    5. Open an admin command prompt
    6. Run wsreset.exe

    After wsreset.exe completes, I restarted my computer. When it came back up, I installed all of the Microsoft Store app updates, which included an App Installer update, which is probably important, but that's mostly speculation. After all the store apps updated, I opened VS and went to deploy my UWP. It hit the same point as before where it said it needed to install the appx, and then quickly blew through it and deployed the app.

    All of these steps may not be necessary, but it's what I did to get unblocked. Hopefully, it helps someone else.

    0 comments No comments