none
How to resolve warning related to: Could not locate the assembly "Microsoft.Office.Interop.Outlook RRS feed

  • Question

  • Greetings:

    I have an application that uses OutLook to perform notification to users.  Right now I'm getting the following warnings and I'd like to get rid of them: 



    Warning:   'System.Runtime.InteropServices.FILETIME' is obsolete: 'Use System.Runtime.InteropServices.ComTypes.FILETIME instead. 
                      http://go.microsoft.com/fwlink/?linkid=14202' 

    For the warning above, how does this reference help me?  Do I need to download this or what?


    Warning:   Ambiguity between method 'Microsoft.Office.Interop.Outlook._Application.Quit()' and non-method 'Microsoft.Office.Interop.Outlook.ApplicationEvents_11_Event.Quit'. 
                      Using method group. C:\Projects\CCObjects\EmailProcessor\MailReader.cs

    Warning:   'System.Xml.Xsl.XslTransform' is obsolete: 'This class has been deprecated. Please use System.Xml.Xsl.XslCompiledTransform instead. 
                        http://go.microsoft.com/fwlink/?linkid=14202'    C:\Projects\CCControls\IP\IPManager.cs

    For the warning above, how does this reference help me?  Do I need to download this or what?


    Warning:  Unable to apply publish properties for item "microsoft.office.interop.outlook"  -  AutoCheckControl

    What's needed here to enable publishing?


    Thanks for the help !!




    • Edited by JonB500 Tuesday, August 19, 2008 4:21 PM update
    Tuesday, August 19, 2008 3:58 PM

Answers

All replies

  • This forum is for software developers who are using the Exchange Server protocols documentation to assist them in developing systems, services, and applications that are interoperable with Exchange.  The Exchange Server protocols documentation can be found here at: http://msdn.microsoft.com/en-us/library/cc307725(EXCHG.80).aspx.

    I suggest you post your question to the Visual Studio Tools for Office (VSTO) forum:
    http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=16&SiteID=1


    Developer Consultant
    Tuesday, August 19, 2008 5:55 PM
    Moderator
  • To get rid of the ambiguity warning, instead of:

        app.Quit();

    do this:

        ((Outlook._Application)app).Quit();

    • Proposed as answer by SACSgtMike Sunday, November 18, 2012 6:24 PM
    Friday, March 26, 2010 4:04 PM
  • Dear Tacotortilla,

    Thank you for answering the question.  This also resolved the issue I was running into.  I don't see why the direct cast should be necessary, probably because this is  COM object run via RCW by a Managed app?

    The moderators have a job to do and the intent was to redirect the person asking the question where help would be more readily found.  However, when a person's question is so simple and they need an answer ... give it to them. :)

    Good on you.

    Best,

    Mike


    Michael Durthaler

    Sunday, November 18, 2012 6:24 PM