Skip to main content

Microsoft Silverlight

Unanswered Question Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net RSS Feed

(0)

jeetAbhi
jeetAbhi

Member

Member

424 points

81 Posts

Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net

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 Luo - MSFT
Yi-Lun L...

All-Star

All-Star

25052 points

2,747 Posts

Re: Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net

 

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.

shanaolanxing - I'll transfer to the Windows Azure team, and will have limited time to participate in the Silverlight forum. Apologize if I don't answer your questions in time.

jeetAbhi
jeetAbhi

Member

Member

424 points

81 Posts

Re: Re: Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net

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:

Could not load type'System.Security.SecurityState' from assembly'mscorlib, version=2.0.0.0,culture=neutral,PublicKeyToken=b77a5c561934e089'."

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.

 

Yi-Lun Luo - MSFT
Yi-Lun L...

All-Star

All-Star

25052 points

2,747 Posts

Re: Re: Re: Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net

Can you attach a project?

shanaolanxing - I'll transfer to the Windows Azure team, and will have limited time to participate in the Silverlight forum. Apologize if I don't answer your questions in time.

jeetAbhi
jeetAbhi

Member

Member

424 points

81 Posts

Re: Re: Re: Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net

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.

Yi-Lun Luo - MSFT
Yi-Lun L...

All-Star

All-Star

25052 points

2,747 Posts

Re: Re: Re: Re: Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net

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...

shanaolanxing - I'll transfer to the Windows Azure team, and will have limited time to participate in the Silverlight forum. Apologize if I don't answer your questions in time.

jeetAbhi
jeetAbhi

Member

Member

424 points

81 Posts

Re: Re: Re: Re: Re: Expression Blend 2.5 June preview crashes : Could not load the assembly System.Net

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?

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities