1. Windows Central Question's Avatar

    I am new to Windows Phone development. I have a basic need to access the Exchange Calendar.

    I am using Windows Phone 8.1 SDK and Exchange Web Service 2.2 SDK.

    As a first step I tried to use the Microsoft.Exchange.WebServices.Autodiscover dll to find the end points of the Exchange Server.

    However on the first code statement

    Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService service = new AutodiscoverService();

    It throws an exception

    An exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.Exchange.WebServices.DLL but was not handled in user code

    'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll

    I further tried some debugging and using Code Analyser I get following warnings

    Microsoft.Exchange.WebServices.dll: warning CS1684: Reference to type 'System.Net.IPAddress' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found.


    C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.Auth.dll: warning MSB3817: The assembly "C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.Auth.dll" does not have a NeutralResourcesLanguageAttribute on it. To be used in an app package, portable libraries must define a NeutralResourcesLanguageAttribute on their main assembly (ie, the one containing code, not a satellite assembly).

    I am not sure what the issue is, but when I try the same code it works in a Command Application. There are other errors but not the above ones. It at least executes few statements.

    Can someone please help resolve this error and point me to links where I can find sample code with Windows Phone 8.1 implementation?

    Thanks in Advance

    03-02-2015 03:30 AM

Similar Threads

  1. Why does my volume decrease to zero when I insert my headphones?
    By Windows Central Question in forum Ask a Question
    Replies: 6
    Last Post: 07-21-2016, 03:08 AM
  2. How can i open my Corrupted OST file in MS -Outllook?
    By Dannis Clark in forum Windows Insider Program
    Replies: 4
    Last Post: 11-05-2015, 01:41 AM
  3. Upgrade 720 to 640XL or 730?
    By Wp_Shashwat in forum Ask a Question
    Replies: 7
    Last Post: 03-02-2015, 10:45 AM
  4. Why does WP load post form days ago in Internet Explorer 11 (Windows RT)?
    By Windows Central Question in forum Site Feedback & Help
    Replies: 1
    Last Post: 03-02-2015, 03:07 AM