Skip to main content
Home Forums Silverlight Design Expression Studio Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net
6 replies. Latest Post by jeetAbhi on June 25, 2008.
(0)
jeetAbhi
Member
424 points
81 Posts
06-19-2008 6:29 AM |
Expression blend is crashing whenever i try to do any state animations or storyboard animations or while adding clr object
THe error i get here is "Could not load the assembly System.Net because the following errors occurred:
Could not load type'System.Security.SecurityState' from assembly'mscorlib, version=2.0.0.0,culture=neutral,PublicKeyToken=b77a5c561934e089'."
Does any one face similar problems? any fixes?
Yi-Lun L...
All-Star
25052 points
2,747 Posts
06-23-2008 12:54 AM |
Hello, have you written any code in the code behind's constructor or Loaded event handler? If so, try to wrap your code like this:
if (HtmlPage.IsEnabled)
{
//Your code here...
}
You can also try to debug Expression Blend with Visual Studio. For more information, please refer to http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx.
06-23-2008 6:34 AM |
Nopes it did not help...... Blend still crashes.....
I have a tab control inside my silverlight project.It has two tab items.When I right-click first TabItem in design mode, to edit its control template...I choose first round button i.e. to edit control template in "Application".
Now blend gives me a new grid inside a control template ,then i try to add column-definations through layput panel within blend...a "CoumnDefination Collection Editor "window pops up.Now when i click " Add Another Item " button at bottom Blend crashes giving me following error :
"Could not load the assembly System.Net because the following errors occurred:
It crashes every time i try add columns....also sometimes when i try state aniamtions inside visual state manager......I m using Blend 2.5 June Preview and VS 2008.
06-23-2008 7:43 AM |
Can you attach a project?
06-24-2008 4:35 AM |
Yes i will do that... here are the links ...
A new project, here you can replicate that error which eventually crashes blend 2.5
http://71.6.135.27/SilverlightApplication1.rar and a video doing the same http://71.6.135.27/BlendCrash.rar
Thanks in advance, I really appreciate that.
06-25-2008 5:11 AM |
Yes, I've seen the problem in your video. But I wasn't able to reproduce it locally... Anyway, I'll send a mail to our Blend team...
06-25-2008 5:32 AM |
Hi Yi-Lun Luo,
I have reproduced this error everytime and have also tried in four different machines...We are using Expression blend 2.5 june preview, visual studio 2008, .net framework 3.5, silverlight 2 beta 2 version2.0.30523.6 are you using the same?