【发布时间】:2015-11-04 00:13:57
【问题描述】:
我从github获取了一个sdk代码并fork了class ServiceBusTriggerAttribute.cs public removed sealed。
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
并从 .nuspec 文件中创建了 3 个 nugets
WebJobs.Core.nuspec
WebJobs.nuspec
WebJobs.ServiceBus.nuspec
在运行我的网络作业时安装这些新创建的包后,我收到以下错误:
发生“System.IO.FileLoadException”类型的未处理异常 在 mscorlib.dll 中
附加信息:无法加载文件或程序集 'Microsoft.Azure.WebJobs.Host,版本=1.1.0.0,文化=中性, PublicKeyToken=31bf3856ad364e35' 或其依赖项之一。强的 名称验证失败。 (HRESULT 异常:0x8013141A)
【问题讨论】:
标签: c# azure azure-webjobs azure-webjobssdk