简体   繁体   中英

Mahapps slows down WPF application

Since I added Mahapps to my WPF application it slowed down dramatically: it takes 5 times longer than before to start up and while editing the XAML code, Visual Studio often waits for 10 seconds or more while I'm typing. Is this normal or are there tweaks to speed it up?

I'm using C# 4.0 on Win7 64bit.

Have same issue when I included the Icons.xaml file. But I deleted all content from that file and just put only those Icons/content which I required/needed for the project. For now its working fine..

If your having problems with the XAML in the designer perhaps you can try reloading it:

Press Ctrl + Shift + Esc
Navigate to the Processes tab.
Kill XDesProc.exe

This will reset the Designer, if that don't work try rebuilding the solution.
If you are using NuGet package to install you could try uninstalling and installing again.

You could also look at your performence tab. You wil find it under Ctrl + Shift + Esc aswell. <KBD>控制</ KBD> + <KBD>移</ KBD> + <KBD> ESC </ KBD>

Look at your memory and processor to see if its constantly peeking while you are running Visual Studio.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM