Sometimes the toolbox goes crazy and crashes VS when viewing XAML files.
Try this:
. Close VS
. Deleting your toolbox (tbd) files from C:\Documents and
Settings\[userprofile]\Local Settings\Application
Data\Microsoft\VisualStudio\9.0
. Restart VS, and open the XAML file
After the toolbox rebuilds, the problem may have gone away (for a
while).
I've also seen people with VS Add-ins that cause problems that crash VS
when viewing XAML. Some I've seen that cause this are Power Commands
and Resharper. Fortunately, these Add-ins work fine on all my dev boxes
(though I don't use Resharper because it's evil *ducks for cover*).
Hope this helps.
Carl.
Carl Scarlett
Senior .NET/WPF Developer, UX Designer - Genesis Team
IT Applications Delivery | Bankwest
A: Level 5, 199 Hay Street | Perth | Western Australia | 6004
P: (08) 9449 8703
M: 0408 913 870
E: [email protected]
From: [email protected]
[mailto:[email protected]] On Behalf Of Greg Keogh
<[email protected]>
Sent: Tuesday, 4 May 2010 10:28 AM
To: "'ozSilverlight'" <[email protected]>
Subject: XAML editing crash
Since I rebuilt my new machine last Xmas I have been suffering a
terrible intermittent problem where Visual Studio 2008 SP1 crashes when
I edit the XAML of a Silverlight control. By "edit" I mean "open with"
the XAML designer, the XML editor or even the text source editor. There
will be a 2 second delay after the file opens and VS2008 will crash and
ask to close, but it does not close and I have to kill the task.
This disease comes in unpredictable waves. Sometimes I don't see it for
a week, and then it happens for weeks non-stop (as it is now). I often
have to delete all the .suo and .user files to get the solution to open
up again. There must be some unknown environmental thing that I alter to
cause the problem to start and stop, but I've no idea what it might be.
I have lost dozens of man hours of valuable working time so far this
year and it can sometimes cut my daily productivity by half, or worse.
I'm in that situation now, falling behind because I can't edit control
XAML in VS2008. I'm sometimes using Notepad, sometimes Blend 3 (but that
stinking ill-conceived incomprehensible tortuously quirky weird-looking
app gives me the merdes).
I mention this problem partly because I'm mad as hell, and partly in
case someone else might have suffered that same way and knows of some
hotfix or similar cure.
Greg
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
________________________________________________________________________
_______
This email has been scanned by the Bankwest Email Security System.
________________________________________________________________________
_______
_______________________________________________________________________________
Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.
This electronic transmission including any attachments is intended only
for those to whom it is addressed. It may contain copyright material or
information that is confidential, privileged or exempt from disclosure by law.
Any claim to privilege is not waived or lost by reason of mistaken transmission
of this information. If you are not the intended recipient you must not
distribute or copy this transmission and should please notify the sender.
Your costs for doing this will be reimbursed by the sender.
We do not accept liability in connection with computer virus, data corruption,
delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight