【问题标题】:Visual Studio 2017 is stopped when do the restart application of nopcommerce 4.2当 nopcommerce 4.2 重新启动应用程序时,Visual Studio 2017 停止
【发布时间】:2019-11-03 05:58:07
【问题描述】:

当我从管理员端重新启动 nopCommerce 4.2 应用程序时,它总是停止 Visual Studio 以及应用程序。

因此,该插件的安装和卸载功能也不起作用。

除了让我知道之外,还有其他解决方案。

谢谢

【问题讨论】:

    标签: asp.net-core visual-studio-2017 nopcommerce application-restart


    【解决方案1】:

    实际上安装和卸载功能都可以正常工作。

    在停止 nopCommerce 之前,插件的系统名称被写入 plugins.json 文件。

    下次启动应用程序时,它会从 PluginNamesToInstall 部分获取插件名称并安装它们。


    plugins.json:

    {
      "InstalledPluginNames": [],
      "PluginNamesToUninstall": [],
      "PluginNamesToDelete": [],
      "PluginNamesToInstall": [
             "systemName"
        ]
    }
    

    【讨论】:

    • 但如果没有重新启动应用程序,它们的功能将无法正常工作。当我重新启动应用程序时,vs2017 也停止了,应用程序也停止了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多