Silverlight 2 Beta 2: "Operation could destabilize the runtime"

I ran into this after having Visual Studio convert my Beta 1 project to Beta 2.

System.Security.VerificationException was unhandled by user code
  Message="Operation could destabilize the runtime."


I created a new Beta 2 solution from scratch and noticed at least one difference, which turned out to be a fix in my case. The reference to mscorlib was pointing to "%\Program Files\Microsoft Silverlight\2.0.30226.2\mscorlib.dll" for my converted project, but was pointed to "%\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\mscorlib.dll" in the new Beta 2 solution. I updated the reference to the new location and all was well except for a few Beta 2 breaking changes that were easy to fix.

Note: I had two references to mscorlib in the previous location, inside two projects in my solution. One was a Silverlight Library, and the second was a Silverlight App that referenced the library. The error stack had the error inside the referenced library.

Published Saturday, June 07, 2008 4:07 PM by RogerGuess

Comments

# re: Silverlight 2 Beta 2: "Operation could destabilize the runtime"

Wednesday, December 10, 2008 5:01 AM by kxpfwgde

BqW5GS  <a href="sqiqxjzmlqdq.com/.../a>, [url=http://yyojkaekemii.com/]yyojkaekemii[/url], [link=http://wiywbrifglqt.com/]wiywbrifglqt[/link], http://mltaqkjpvjgb.com/

# re: Silverlight 2 Beta 2: "Operation could destabilize the runtime"

Monday, March 02, 2009 3:27 AM by vqvjfupj

KH19E4  <a href="pcrljyedahtm.com/.../a>, [url=http://zlhlsfjyksdd.com/]zlhlsfjyksdd[/url], [link=http://xcdonwihyktg.com/]xcdonwihyktg[/link], http://rnjioqmqwasx.com/

# re: Silverlight 2 Beta 2: "Operation could destabilize the runtime"

Monday, March 09, 2009 10:14 PM by oembagmwmkd

iNtG4T  <a href="vkfegldmipgi.com/.../a>, [url=http://rmaprgvlyypz.com/]rmaprgvlyypz[/url], [link=http://zgnlolhlvxls.com/]zgnlolhlvxls[/link], http://ohlyeuaugkca.com/

# re: Silverlight 2 Beta 2: "Operation could destabilize the runtime"

Monday, May 04, 2009 4:17 PM by cqzfdxmjbc

DN93IP  <a href="aciwsltkezpa.com/.../a>, [url=http://klxkhcllfakw.com/]klxkhcllfakw[/url], [link=http://nhylboyfberi.com/]nhylboyfberi[/link], http://ivsdqqpbfwjh.com/

# re: Silverlight 2 Beta 2: "Operation could destabilize the runtime"

Monday, May 04, 2009 4:18 PM by cqzfdxmjbc

DN93IP  <a href="aciwsltkezpa.com/.../a>, [url=http://klxkhcllfakw.com/]klxkhcllfakw[/url], [link=http://nhylboyfberi.com/]nhylboyfberi[/link], http://ivsdqqpbfwjh.com/

# re: Silverlight 2 Beta 2: "Operation could destabilize the runtime"

Tuesday, June 30, 2009 1:39 AM by rsxkgxxtaou

AcgQTm  <a href="omdputnyfrgr.com/.../a>, [url=http://lesxkuozinzn.com/]lesxkuozinzn[/url], [link=http://dsbudtphqwgq.com/]dsbudtphqwgq[/link], http://ynvpsucmdvvf.com/

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Powered by Community Server (Non-Commercial Edition), by Telligent Systems