question

RodFalanga avatar image
0 Votes"
RodFalanga asked ·

Hanging on installing a missing framework

This morning I started a new UWP project to test something. This is a very simple project. I have a textbox, button and textblock. That's it. I've added MVVMLight to it. I built it next. That worked fine. Then I've tried to debug it. That's where it hangs, for 15 minutes and more with this message in VS 2019's Output window:

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


Clearly installing Microsoft.NET.CoreFramework.Debug.2.2/X86 is hanging. What's the issue? Why is it doing this?

windows-uwp
· 6
10 |1000 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.

When you package the app, it will contain all dependencies that your app requires to be installed on the target machine, including the Microsoft.NET.CoreFramework.Debug.2.2. How did you debug your app? Do you mean when you directly run it, it will hang on? If you don't add MVVMLight and do the same behavior, will the same issue occur?

0 Votes 0 ·

At this point I'm not trying to package the app. I pressed the F5 key in Visual Studio to debug it, then it hung. I couldn't debug it at all.

0 Votes 0 ·

I added textbox and button, then installed the MVVMLight to my project. When I pressed the F5 key to run it, it didn't hang on and worked well. What is your system version? And can you provide a simple sample that can be reproduced for us to test?

1 Vote 1 ·
Show more comments

1 Answer

RodFalanga avatar image
0 Votes"
RodFalanga answered ·

I am not sure what happened, but the problem seems to have resolved itself. I can debug the app.

·
10 |1000 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.