【发布时间】:2015-06-16 17:32:50
【问题描述】:
我在我的项目中更新了 nuget 包。
在我的 app.config 文件中,我收到了以前不存在的新依赖程序集。例如:
<dependentAssembly>
<assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.6.2.0" newVersion="5.6.2.0" />
</dependentAssembly>
我删除了所有新依赖项以使 app.configuration 看起来类似于 nuget 更新之前的内容(仅更改了更新的依赖程序集,没有添加新的程序集)... 但似乎有了新的 nuget 包,我实际上需要新的dependentAssembly 集,但我删除了它们,不记得应该添加哪些。
有没有办法以某种方式刷新 app.config 中的dependentAssembly?希望不要删除和添加 nuget 包。
【问题讨论】:
标签: package nuget app-config