【问题标题】:Duplication of dll files while publishing web site in VS 2013 nop framework在 VS 2013 nop 框架中发布网站时复制 dll 文件
【发布时间】:2016-01-20 13:29:06
【问题描述】:

我在 nopCommerce 框架上开发了 Web 应用程序,当我发布该网站时,它会在 bin 和 plugins 文件夹中创建重复的 dll 文件。这会增加构建的大小。

以前不会发生这种情况。如何避免发布文件夹中的 dll 文件重复。

【问题讨论】:

  • 删除旧文件并尝试构建。
  • 我已经将发布设置设置为删除和创建发布。
  • 我无法理解为什么 Visual Studio 会复制 dll 文件。较早的 dll 文件仅存在于发布文件夹内的 bin 文件夹中。现在它正在我的插件文件夹中创建一组新的 dll 文件,这些文件已经存在于 bin 文件夹中。这正在增加构建大小“发布文件夹的大小”。

标签: visual-studio visual-studio-2013 nopcommerce


【解决方案1】:

插件文件夹,您只需复制您的程序集 dll。要删除的外部程序集 dll。您也可以查看official documentation of the development of plugins。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多