Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS freezes when Rapid-XAML-Toolkit is installed #492

Open
1 of 2 tasks
MagicAndre1981 opened this issue Jul 19, 2021 · 7 comments
Open
1 of 2 tasks

VS freezes when Rapid-XAML-Toolkit is installed #492

MagicAndre1981 opened this issue Jul 19, 2021 · 7 comments
Labels
bug Something isn't working Xamain.Forms Relates to XAML in Xamarin.Forms projects XAML-Analysis Relates to XAML Analysis functionality
Milestone

Comments

@MagicAndre1981
Copy link

Describe the bug

When Rapid-XAML-Toolkit is installed, the VS freezes a lot during XAML file save or build start.

How can this be reproduced?

this happens often when I try to start a build of a project. Next VS2019 16.10 window is frozen and process has to be killed.

After playing a bit around with my installed VS extension, the issue stops if I remove all your Rapid-XAML-Toolkit extensions.

Which version of Visual Studio are you using?

  • 2019
  • 2019 (preview)

Project Type

Xamarin.Forms

@MagicAndre1981 MagicAndre1981 added the bug Something isn't working label Jul 19, 2021
@mrlacey mrlacey added this to the Backlog milestone Jul 19, 2021
@mrlacey mrlacey added Xamain.Forms Relates to XAML in Xamarin.Forms projects XAML-Analysis Relates to XAML Analysis functionality labels Jul 19, 2021
@mrlacey
Copy link
Owner

mrlacey commented Jul 19, 2021

Version 0.12 added an option to disable the analysis on saving

image

It should also prompt to disable re-analyzing the document when it is saved if it repeatedly takes more than one second.

I've not encountered or heard of any issues impacting the build process or causing VS to freeze in this way. The extension doesn't do anything when a project (or solution) is built so I don't know what could be causing this. -- Assuming you haven't got the separate BuildAnalysis package added to the project, but even then that shouldn't cause a freeze as it runs as a separate process.

I've seen a pause on extension initialization a few times but not in a repeatable fashion. I've also seen this from other extensions that seemingly don't do anything on initialization but can still cause VS to report them as the cause of a freeze. I've investigated this previously to no avail but will look again.

@MagicAndre1981
Copy link
Author

this freeze also happend for other project types (vs2019 extension that I tried to debug). I removed it now as I don't use it that much.

I created a 2nd VM (I only work with VMs to have a clean host) and here it also worked before I've installed your extension.

The host with Ryzen5 3600, 1TB MVMe EVO Plus SSD were the VMs are stored, 32GB DDR4 3200 is fast enough.

@MagicAndre1981
Copy link
Author

Version 0.12 added an option to disable the analysis on saving

image

It should also prompt to disable re-analyzing the document when it is saved if it repeatedly takes more than one second.

changing the setting has no impact. I tried to debug the VS2019 extension and VS2019 freezed again at "Build started ...". So I removed the extension again and build/debug works fine again.

I also had such a strange case some time ago. That extension caused VS to crash, but only when running inside a VM not when using VS2019 directly on a normal PC/laptop.

I'll leave this issue open for tracking but will not install the extension again.

@MGRussell
Copy link

I'm having an identical issue. Visual Studio 16.11.5. For some further oddities after installing this extension it does not appear in the right click context menu in the solution explorer. It does appear in the options. After enabling custom analysis in the options, it freezes visual studio for a substantial period of time.

Visual Studio displayed a message stating "Visual Studio stopped responding for 11 seconds. Disabling the extension Rapid XAML Analysis 0.13.1 might help." Disabling analysis on save stopped that problem, but the issue remains that any time the analysis does run it completely freezes visual studio for an extended period of time, which makes the extension unusable in its current state.

My Visual Studio install is pretty vanilla on a mid-upper tier system. The only possibly unusual situation is that I am installing/maintaining the prerequisites/extensions for WinUI 3 development.

@MagicAndre1981
Copy link
Author

My Visual Studio install is pretty vanilla on a mid-upper tier system. The only possibly unusual situation is that I am installing/maintaining the prerequisites/extensions for WinUI 3 development.

what are your specs? Also AMD Ryzen?

@MGRussell
Copy link

Yip. Ryzen 5 3600 6-core @ 3.59ghz, 16GB ram, Win 10 21H1 build 19043.1288.

@MagicAndre1981
Copy link
Author

ok, we both have the same CPU, so maybe this is an AMD Ryzen Zen2 issue.

@mrlacey mrlacey modified the milestones: Backlog, 1.0 Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Xamain.Forms Relates to XAML in Xamarin.Forms projects XAML-Analysis Relates to XAML Analysis functionality
Projects
None yet
Development

No branches or pull requests

3 participants