Silverlight issue

Jul 4, 2012 at 4:11 PM

Hi

I just downloaded bin folder for SL and my code is super simple the exception is occurring on CsvReader initialization:

 using (CsvReader reader = new CsvReader(ofd.File.OpenRead()))                

{

}

Exception deatails:

System.TypeInitializationException:

Attempt by security transparent method "Kent.Boogaart.KBCsv.CsvReader..cctor()" to access security critical method "Kent.Boogaart.HelperTrinity.ExceptionHelper..ctor(System.Type)" failed.

 

I'm using Silverlight 5, out of browser, please do you have any idea of causing this issue....