I fixed this error by changing the "configuration" node on my app.config as follows:
<startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup>
:
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup>
Gustavo Mori Feb 12 2018-11-11T00: 00Z
source share