Azure SDK 2.5.1 fails to Publish cloudService

后端 未结 2 848
谎友^
谎友^ 2020-12-23 16:05

After successfully upgrading my cloud service to the new \"Azure SDK for .NET 2.5.1\" I got the following error when trying packaging/publishing.

2条回答
  •  北海茫月
    2020-12-23 16:37

    I searched locally for the required dll and found it in almost all previous versions of the Azure .Net SDK had it (from v2.0 onwards I believe).

    Search results

    So in order to fix this you need to copy the following dlls from the previous version v2.4 of the SDK to the similar location for v2.5.

    SDK installation paths.

    • Src location: "C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.4\bin"
    • Dst location: "C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin"

    Dlls to copy (missing):

    1. Microsoft.WindowsAzure.Packaging.dll
    2. Microsoft.WindowsAzure.ServiceModel.Common.dll

    Since there may be a better answer to this I will not mark this as an answer yet.

提交回复
热议问题