【问题标题】:Error installing Sql Server sink - Semantic logging安装 Sql Server 接收器时出错 - 语义日志记录
【发布时间】:2014-03-12 05:25:38
【问题描述】:

我正在尝试将语义日志记录 Sql Server 接收器安装到我的应用程序中,但到目前为止每次尝试都失败了。我得到的错误是(在 CMD 模式下):

Attempting to resolve dependency 'EnterpriseLibrary.SemanticLogging (≥ 1.0)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5)'.
Attempting to resolve dependency 'EnterpriseLibrary.TransientFaultHandling.Data (≥ 6.0)'.
Attempting to resolve dependency 'EnterpriseLibrary.TransientFaultHandling (≥ 6.0)'.
Installing 'EnterpriseLibrary.TransientFaultHandling 6.0.1304.0'.
You are downloading EnterpriseLibrary.TransientFaultHandling from Microsoft, the license agreement to which is available at http://www.opensource.org/licenses/ms-pl. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Install failed. Rolling back...
install-package : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At line:1 char:1
+ install-package
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], PathTooLongException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

尝试了 UI 和命令提示符安装仍然没有成功。任何帮助将不胜感激。

【问题讨论】:

    标签: semantics


    【解决方案1】:

    遇到了类似的问题。您可能会尝试将这个单个包移动到一个较短的目录,例如C:\包。否则将您的整个项目路径(例如 C:\users\yourname\documents...)移动到像 c:\MyProjects 这样的短路径。

    【讨论】:

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