Servicestack nuget 版本控制 (Servicestack nuget versioning)


問題描述

Servicestack nuget 版本控制 (Servicestack nuget versioning)

不到 3 個月前,我們開始使用 servicestack v4 構建不同的項目。

我們在 4.0.52 版本安裝了不同的 servicestack 包(servicestack.Common、servicestack.Interfaces、servicestack.Client 等)

由於一些安裝/更新,我們只升級了4.0.54 的 servicestack.Interfaces,這導致了這個錯誤:

方法 'PostFilesWithRequest' in type 'ServiceStack.JsonServiceClient' from assembly 'ServiceStack.Client, Version=4.0.52.0, Culture=中性,PublicKeyToken=null' 沒有實現。

將所有服務堆棧包升級到4.0.54後,它解決了錯誤(在新版本的IRestClient中他們添加了新定義)。

我的問題是:

  • servicestack 如何處理他們發布的版本控制?
  • 我們是否必須在每次發布新版本時升級所有 servicestack 包?

我認為他們使用語義版本控制,但似乎並非如此(a補丁應該是向後兼容的)

我知道我的問題聽起來更像是抱怨,但我很確定我不是唯一一個遇到這個問題的人:

無法加載類型'ServiceStack.IUrlFilter' 來自程序集 'ServiceStack.Interfaces...'

MyGet pre‑release packages.

ServiceStack official NuGet packages are deployed in lock‑step where all of ServiceStack's 60 NuGet packages are released at the same time with the same version. Every release has the potential for a non‑backwards compatible change in any one of modified ServiceStack's packages so they should all be upgraded at the same time.

(by MkMmythz)

參考文件

  1. Servicestack nuget versioning (CC BY‑SA 2.5/3.0/4.0)

#versioning #servicestack #.net #version-control #C#






相關問題

AndroidManifest.xml 文件 <manifest> versionCode 屬性 (AndroidManifest.xml file <manifest> versionCode attribute)

grails 插件兼容性 (grails plugins compatibility)

Debug Unit Test bằng cách sử dụng Resharper 7 cho MBUnit ném ra một ngoại lệ (Debug Unit Tests using Resharper 7 for MBUnit throws an exception)

在 Maven 依賴項中包含不同版本的庫,完全破壞了我的構建 (Including a different version of a library, in a maven dependency totally broke my build)

Servicestack nuget 版本控制 (Servicestack nuget versioning)

如何從共享庫中獲取版本信息到 Android 清單中? (How to get version info from a shared library into the Android manifest?)

我可以在 Visual Studio 中為解決方案設置通用的 major.minor.release (Can I set a general major.minor.release for a solution in Visual Studio)

跨版本的 PowerShell 安裝文件夾和腳本文件擴展名 (PowerShell installation folder and script filename extension across versions)

嚴格版本化的 WCF 服務命名空間是否應該對合同是唯一的? (Should strictly versioned WCF service namespaces be unique to the contract?)

為不同版本的 3rd 方庫設計實用程序 (Design of utilities for diffrent versions of 3rd party library)

如何檢索顯示上游狀態的 git 版本信息 (How do I retrieve git version info showing upstream state)

帶有紗線漿果的 CLI 凹凸版本號 (CLI bump version number with yarn berry)







留言討論