2014-10-02 52 views
0

我使用Nuget在版本3.9.7.0中安裝ServiceStack.Text,ServiceStack.Client和ServiceStack.Common。用Nuget添加ServiceStack.Interfaces版本3.9.7.0

當試圖安裝ServiceStack.Interfaces V3.9.7.0時,它無法找到它。

如果我仍然需要特定版本的3.9.7.0我應該怎麼做? 我更喜歡管理我所有的包裹,但是如果沒有選擇,我會使用不同的解決方案。

回答

2

在ServiceStack v3ServiceStack.Interfaces.dll維持在ServiceStack.Common NuGet包,所以安裝ServiceStack.Interfaces的特定版本從你的NuGet可以指定你想要的版本:

Install-Package ServiceStack.Common -Version 3.9.70 

其他的NuGet說明,請參閱v3 installation docs

+1

爲什麼ServicesStack.Interfaces的版本被重置爲1.0.0.0? – FelProNet 2014-10-02 20:34:45

+0

@DevTraveler當[ServiceStack.Interfaces在第4版中變得強壯的時候,版本號變得不變](https://github.com/ServiceStack/ServiceStack/blob/master/release-notes.md#servicestackinterfaces-is-now-strong-命名) – mythz 2014-10-02 20:37:51