错误是引用程序集 [英] Error is referencing assembly
问题描述
您好,
我的应用程序抛出以下错误
类型'Microsoft.WindowsAzure.ServiceRuntime .RoleEntryPoint'在未引用的程序集中定义。您必须添加对程序集'Microsoft.WindowsAzure.ServiceRuntime,Version = 1.8.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'的引用'
但是我试图引用该装配以一种常见的方式,即右键单击装配 - >添加引用...但它没有显示
Microsoft.WindowsAzure.ServiceRuntime.RoleEntryPoint
到引用列表。
感谢高级
Hello,
My application throwing following error
The type 'Microsoft.WindowsAzure.ServiceRuntime.RoleEntryPoint' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
However I am trying to reference that assembly in a common way, ie right click on assembly--> Add reference... but it is not showing
Microsoft.WindowsAzure.ServiceRuntime.RoleEntryPoint
into references list.
Thanks in advanced
推荐答案
如果你查看RoleEntryPoint的eth MSDN文档: http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.serviceruntime.roleentrypoint.aspx [ ^ ]表示它位于Microsoft.WindowsAzure.ServiceRuntime程序集中,在Microsoft.WindowsAzure.ServiceRuntime.dll
添加,然后它应该工作。
If you look at eth MSDN documentation for RoleEntryPoint: http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.serviceruntime.roleentrypoint.aspx[^] is says it is in the Microsoft.WindowsAzure.ServiceRuntime assembly, which is in Microsoft.WindowsAzure.ServiceRuntime.dll
Add that, then it should work.
这篇关于错误是引用程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!