그래서 NServiceBus> = 4.5.0에 따라 달라지는 NServiceBus.Host 패키지가 있습니다.NuGet이 패키지 종속성의 잘못된 버전을 해결합니다.
너겟에는 NServiceBus의 4.5.1 버전이 있습니다. 내가 설치 패키지 NServiceBus.Host 얻을 :
PM> install-package nservicebus.host
Attempting to resolve dependency 'NServiceBus (≥ 4.5.0)'.
Attempting to resolve dependency 'NServiceBus.Interfaces (≥ 4.5.0)'.
Installing 'NServiceBus.Interfaces 4.5.0'.
You are downloading NServiceBus.Interfaces from NServiceBus Ltd, the license agreement to which is available at http://particular.net/LicenseAgreement. 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.
Successfully installed 'NServiceBus.Interfaces 4.5.0'.
Installing 'NServiceBus 4.5.0'.
내가 알기로는 종속성의 4.5.0 버전을 얻을.
는 nuget doco에서는 상태 : 종속성이 설치되어 있지
경우 NuGet 다음 단계를 간다 :
NuGet이 버전 사양 내에서 있어 사료 내 Subkismet의 모든 버전을 열거 . 그런 다음 NuGet은 가장 작은/최소 버전이있는 패키지를 으로 설정합니다. 나머지 패키지 중 NuGet은 가장 높은 버전 번호를 가진 패키지를 선택합니다.
"NuGet은 버전 번호가 가장 높은 것을 선택합니다." 결코 버전이 없기 때문에 여기 위반 된 것으로 보인다.
NuGet의 버그입니까?
당신은 조금 놓친 : "나머지 패키지 *의 *는 NuGet이 가장 높은 버전의 하나를 선택합니다"- 더 높은 버전 번호가있을 수 있습니다 NuGet 저장소에 있지만 패키지 또는 종속성에서 참조하는 가장 높은 번호는 아닙니다. –
그러나이 경우 4.5.0과 4.5.1이 모두 남아있는 패키지 세트에 포함되어야합니다. –