【发布时间】:2020-05-19 22:48:07
【问题描述】:
我刚刚为我的控制台应用程序更新了一些 nuget 包,现在我的 app.config 有了这个:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
这整个部分以前不存在。我还有其他未在此处列出的软件包,仅包括已更新的软件包。 它以前运行良好,现在运行良好。这部分具体完成了什么,为什么不完整?
【问题讨论】:
标签: .net app-config