2015-11-03 54 views
0

我已採取從github sdk代碼,並使叉class ServiceBusTriggerAttribute.cs public removed sealed我有叉類ServiceBusTriggerAttribute公開並刪除密封 - 獲取異常

類型的未處理的異常「系統:

namespace Microsoft.Azure.WebJobs 
{ 
// Summary: 
// Represents an attribute that binds a parameter to a Service Bus Queue message, 
// causing the method to run when a message is enqueued. 
// 
// Remarks: 
// The method parameter type can be one of the following: BrokeredMessage System.String 
// byte[] A user-defined type (serialized as JSON) 
[AttributeUsage(AttributeTargets.Parameter)] 
[DebuggerDisplay("{DebuggerDisplay,nq}")] 
public class ServiceBusTriggerAttribute : Attribute 

和運行我webjob時,我得到以下錯誤在3個nugets從.nuspec文件

WebJobs.Core.nuspec 
WebJobs.nuspec 
WebJobs.ServiceBus.nuspec 

安裝這些新創建的軟件包之後。 IO.FileLoadException'發生在mscorlib.dll中

Addit離子信息:無法加載文件或程序集 'Microsoft.Azure.WebJobs.Host,Version = 1.1.0.0,Culture = neutral, PublicKeyToken = 31bf3856ad364e35'或其依賴項之一。強 名稱驗證失敗。 (從HRESULT異常:0x8013141A)

回答