答案 0 :(得分:3)
您app.config
fie包含supportedRuntime
元素中SKU ID的无效值。出于某种原因,这是:
<supportedRuntime version="v4.0" sku=".NETFramework,ServerVersion=v4.6.1" />
但看起来应该更像这样:
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
您可以在this list中看到有效的值列表。