Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
edited tags
Link
user1228
user1228
added 32 characters in body; edited title
Source Link
GEOCHET
  • 21.3k
  • 15
  • 78
  • 99

How can I speed up the opening of a WPF window takes 4 seconds to open in a VS add- help!in?

I have a Visual Studio add-in which opens a modal WPF window. 

My problem is that the first time round, it takes 4 seconds for the window to appear -which is a clear disservice to the client. So I'm wondering -- isif there is a way to optimize this away? Some

Is there some kind of nifty code to preload the PresentationFramework (or whatever is slowing the thing down) when the add-in starts, rather than when it is actually used?

WPF window takes 4 seconds to open in VS - help!

I have a Visual Studio add-in which opens a modal WPF window. My problem is that the first time round, it takes 4 seconds for the window to appear - a clear disservice to the client. So I'm wondering -- is there a way to optimize this away? Some kind of nifty code to preload the PresentationFramework (or whatever is slowing the thing down) when the add-in starts, rather than when it is actually used?

How can I speed up the opening of a WPF window in a VS add-in?

I have a Visual Studio add-in which opens a modal WPF window. 

My problem is that the first time round, it takes 4 seconds for the window to appear which is a clear disservice to the client. So I'm wondering if there is a way to optimize this away?

Is there some kind of nifty code to preload the PresentationFramework (or whatever is slowing the thing down) when the add-in starts, rather than when it is actually used?

edited tags
Link
Kent Fredric
  • 57.6k
  • 14
  • 112
  • 151
Source Link
Dmitri Nesteruk
  • 23.9k
  • 23
  • 107
  • 169
Loading