question

SmilingMoon avatar image
2 Votes"
SmilingMoon asked JoshDavis-5010 answered

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

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.

windows-uwp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SmilingMoon avatar image
1 Vote"
SmilingMoon answered

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!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

NicoZhu-MSFT avatar image
0 Votes"
NicoZhu-MSFT answered NicoZhu-MSFT edited

Hello,
Welcome to Microsoft Q&A,

Derive from the error info, it looks that you miss install Microsoft.NET.CoreFramework.Debug and Microsoft.VCLibs.140.00.Debug app decencies, you could install them manually,

please navigate to this path C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.win10-x86.microsoft.net.uwpcoreruntimesdk\2.2.10\tools\Appx\ then find the missed appx and reinstall, if the app installer tell you current appx could not be install, please skip above steps then download .NET Core 2.2 windows sdk and reinstall.

Thanks,

Nico Zhu

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Nathan-6020 avatar image
1 Vote"
Nathan-6020 answered JohnLinstrum-1396 commented

I am also experiencing this, after updating last week to the latest version of VS 2019. However, after updating, both VS 2017 and VS 2019 now experience this hang when trying to deploy any UWP app. I also tried completely uninstalling both VS 2017 and VS 2019 and reinstalling only VS 2019 and still had the same issue.


I tried the fix mentioned by @NavtejSaini-MSFT by installing the appx manually, but even those installations seem to hang at 10%, which I suspect is happening the same within Visual Studio.9936-annotation-2020-06-15-100522.png. I can let it sit for hours and it doesn't get past 10% progress.


At this point I'm completely unable to deploy any app from VS for nearly a week now. Any help would be appreciated.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am having the exact same issue as described above. The app packages get stuck at the 10% mark.

0 Votes 0 ·
Nathan-6020 avatar image
1 Vote"
Nathan-6020 answered

After banging my head against the wall over this for a week I finally resorted to resetting Windows (keeping personal files and app data) the problem was 'fixed'. I don't want to say it was fixed because having to reinstall Windows isn't a fix for anything. But, if you're having this issue, resetting Windows might work for you.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JohnLinstrum-1396 avatar image
0 Votes"
JohnLinstrum-1396 answered

I had the identical issue and I did a clean install of Windows, moved over all my source code, etc. and the problem went away as well. In my case it was a good opportunity to upgrade my main drive, but it seems like a lot of work just to fix whatever this is. One would think there should be some other way of cleaning out the source of the problem.

Also I wonder if the issue is due to something new in VS 2019 release 16.6, or if it has to do with the Blazor/wasm/.Net core 3.1 bleeding edge development I've been doing on the same machine? If the latter, I'm dreading when I have to reinstall the SDKs etc. for my Blazor project.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JoshDavis-5010 avatar image
0 Votes"
JoshDavis-5010 answered

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.