问题出在ArcMap
binArcMap.exe.config
默认是不支持NET4.0
<startup> <!--<supportedRuntime version="v4.0.30319"/>--> <supportedRuntime version="v2.0.50727"/> </startup>
打开设置即可支持NET4.0