This is cool. I have a checkbox in my silverlight UI.
I have a code path that does:
if self.remember_me.IsChecked:
PutStored(username, password)
The *second* time through this code path it blows up with the exception
below. I can fix it by changing the test to:
if self.remember_me.IsChecked
This indicates we're generating invalid IL. The best way to debug this is to
enable the SaveAssemblies option which will cause us to save the code to disk.
Programmatically you can do this via Snippets.Shared.SaveSnippets = true. When
the process is finished you should then call Snippets.Shar
Hi Dino,
Thanks for your reply. Spent all day trying to debug the problem. I
have the code working in a POC, I have it working in my UI but my unit
tests are failing.
The exception being raised is (different to before):
Unhandled Exception System.TypeInitializationException: The type
initial