2013-02-02 28 views
0

我有我的解決方案的工作流項目,引用Microsoft.Activies.Extensions.dll 2.0.2.16大會無法加載 - 部署到Azure中 - Microsoft.Activities.Extensions

我用的NuGet包管理器升級到當前版本2.0.6.9

部署工作流項目的.dll引用到雲我得到的Web角色:

Could not load file or assembly 'Microsoft.Activities.Extensions, PublicKeyToken=23b0c89d0d5ad43f' or one of its dependencies. The system cannot find the file specified. 

我遠程desktoped到虛擬機,並檢查了F:/approot/bin看到既沒有版本的程序集被部署。

由於這是一個NuGet包,我可以在我的<Solution root>/Packages folder中找到它。我看到由NuGet創建的新文件夾,但也看到舊版本文件夾被遺留,儘管程序集不在裏面。我刪除了該文件夾,並在我的web.config中放置了一個程序集重定向:

<dependentAssembly> 
    <assemblyIdentity name="Microsoft.Activities.Extensions" publicKeyToken="23b0c89d0d5ad43f" /> 
    <bindingRedirect oldVersion="2.0.2.12" newVersion="2.0.6.9" /> 
    </dependentAssembly> 

通過發佈清除,構建,重新部署。

錯誤仍然存​​在,再次挖掘approot/bin表明程序集仍未部署。

我當然有複製本地設置爲true。

爲什麼沒有部署?

回答