少しの知識は危険なことです。
ユーザーのマシンにインストールされているさまざまな .NET ランタイムに依存して「慣らし」を行ったので、できるだけ「安全」であり、可能な限り防御的にコーディングしたいと考えています。
ただし、これを App.config ファイルに追加すると、次のようになります。
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v1.0.3705"/>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v2.0.50727"/>
<supportedRuntime version="v3.0"/>
<supportedRuntime version="v3.5"/>
<supportedRuntime version="v4.0"/>
<supportedRuntime version="v4.0.30319"/>
</startup>
...サスペンダー、ベルト、キャットスーツを着用するのと同じですか?
(私は.NET 4「標準」をターゲットにしています)