【问题标题】:EventStore build.cmd ErrorsEventStore build.cmd 错误
【发布时间】:2020-10-27 19:08:56
【问题描述】:

刚开始使用 JOlivers 事件存储库,但在 build.cmd 中遇到了一些 Nuget 命令的问题。这是日志,也许你已经意识到了这个问题,但我想我会把它放在这里。

=== COMPILING ===
Compiling / Target: v4.0 / Config: Release
S:\SourceControl\Test Projects\EventStore\bin\nuget\NuGet.targets(6,9): error : Input string was not in a correct format. [S:\SourceControl\Test Projects\EventStore\src\proj\EventStore.Persistence.RavenPersistence\EventStore.Persistence.RavenPersistence.csproj]
S:\SourceControl\Test Projects\EventStore\bin\nuget\NuGet.targets(6,9): error MSB3073: The command ""S:\SourceControl\Test Projects\EventStore\src\..\bin\nuget\nuget.exe" install "S:\SourceControl\Test Projects\EventStore\src\proj\EventStore.Persistence.RavenPersistence\packages.config" -source "" -o "S:\SourceControl\Test Projects\EventStore\src\..\bin"" exited with code 1. [S:\SourceControl\Test Projects\EventStore\src\proj\EventStore.Persistence.RavenPersistence\EventStore.Persistence.RavenPersistence.csproj]

【问题讨论】:

  • 说真的,可以阅读这个,edit 你的问题,只剪掉重要的部分,并将其格式化以使其可读?
  • 我正在 master 分支上进行干净的构建,它运行良好。但话又说回来,我的路径中没有任何空格。

标签: cqrs neventstore


【解决方案1】:

EventStore 的 master 分支目前似乎已损坏。 3.0 分支的形状更好,但也略有损坏。要修复 3.0 分支以使其构建,您需要将 nuget.exe 的 1.5 版本升级到 1.6。最简单的方法是在存储库中执行\bin\nuget\NuGet.exe update -self。我已经向 JOliver 提交了包含该更改的拉取请求。

(我还提交了一个拉取请求,其中包含示例项目的一些小修复。)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-07-14
    • 1970-01-01
    • 1970-01-01
    • 2018-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多