The type initializer for 'System.Windows.Application' threw an exception.


i have develop application .net framework in fourth version (4.0). empty base application created visual studio, error message written in caption when start debugging. did not change apart "target framework" property changed 4.5 4 (no client profile). application wpf project written in c#.

this error quite annoying, more usual errors: absolutely can't figure out causes problem. glad if me.

this issue better placed in wpf forums:

http://social.msdn.microsoft.com/forums/en-us/home?forum=wpf

exceptions carry lot more information, thier type, message, innerexception , stacktrace. need if give usefull sugestions.
ideally give result exception.tostring() wich should contain of above.

lowering framework version dozen times more give compiler error, rather runtime errors curious thing.

have tried going 4.5 again?

let's talk mvvm: http://social.msdn.microsoft.com/forums/en-us/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 please mark post helpfull , answers respectively.



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'