make sure you have configured both the app.config and the programname.exe.config file.
for example:
<configuration>
<startup>
<supportedruntime version="v2.0.50727"/>
</startup>
</configuration>
make sure you have configured both the app.config and the programname.exe.config file.
for example:
<configuration>
<startup>
<supportedruntime version="v2.0.50727"/>
</startup>
</configuration>
found answer here via @pabrams. @pabrams additional comment under answer
"probably depends on what version of visual studio you're using, but for me (vs2010 pro) it was right-click project -> hit properties -> compile -> advanced compile options... -> generate serialization assemblies is a dropdown"
did the trick!