unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.51k stars 690 forks source link

[Single project] Infinite project reload loop #16692

Closed MartinZikmund closed 1 month ago

MartinZikmund commented 1 month ago

Current behavior

After closing and reopening a solution with single project, VS got into an infinite loop of reloading the project thinking that active framework was changed.

reloadingforever

Expected behavior

Should not happen

How to reproduce it (as minimally and precisely as possible)

Not sure 🤷‍♂️ . It happened randomly, crashed VS twice and then I managed to manually switch the active framework in between somehow and then it stopped.

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

Visual Studio 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

MartinZikmund commented 1 month ago

Also this happens during:

image

image

MartinZikmund commented 1 month ago

This then happened to my Uno Platform library:

image

MartinZikmund commented 1 month ago

Not sure if relevant, but I closed the solution when the target was WinAppSDK Packaged

jeromelaban commented 1 month ago

When this happens, can you zip the whole solution folder, in hopes we can reproduce later? Did it happen again later?

jeromelaban commented 1 month ago

There's no clear repro at this time, and it may be fixed by #16710. We'll reopen if steps become clearer.