Click here to Skip to main content
14,734,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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=, 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
into references list.
Thanks in advanced

1 solution

If you look at eth MSDN documentation for RoleEntryPoint:[^] is says it is in the Microsoft.WindowsAzure.ServiceRuntime assembly, which is in Microsoft.WindowsAzure.ServiceRuntime.dll

Add that, then it should work.
[no name] 23-Sep-13 4:49am
I am unable to find anything like Microsoft.WindowsA....
OriginalGriff 23-Sep-13 4:51am
Did you browse for the DLL file? Do you have the DLL installed?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900