xna - C# - the type initializer for (Static Class) threw an exception; Only on some PCs -


i have issue users of game crashing when initialize static class first time. have switched configuration of program on using app.config looks so:

<?xml version="1.0" encoding="utf-8" ?> <configuration>   <appsettings>     <add key="xres" value="1680" />     <add key="yres" value="1050" />     <add key="windowmode" value="1" />     <add key="ranonce" value="true" />     <add key="musicvolume" value="70" />     <add key="effectsvolume" value="100" />     <add key="language" value="english" />   </appsettings> </configuration> 

upon initalization of static class, users crashing out "type initializer threw exception..." error. however, users not experiencing issues. production code tens of thousands of users.

so trying figure out why users may have problem , can solve it. .net configuration? else missing?


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -