Unanswered VSTO compatibility

  • Monday, December 03, 2012 4:04 PM
     
     

    I'm trying to make a PowerPoint add-in that use Expression Encoder to encode video inside PowerPoint interface

    I use VisualStudio 2010, Office 2010 and Expression Encoder 4.0. I try also a trial version of VisualStudio 2012 but the problem persists anyway.

    the problem appear when only create new object of type  Microsoft.Expression.Encoder.Live.LiveJob. Following C#  sample code. 

    can somobody help me?

    namespace TEST_VS2012_OFFICE2010_PPTADDIN

    {
        public partial class ThisAddIn
        {
            private void ThisAddIn_Startup(object sender, System.EventArgs e)     
            {
                Microsoft.Expression.Encoder.Live.LiveJob job;
            }

        }
    }

    The error exposed during debug start is: (I'm sorry for the Italian language, but I think it is clear enough)

    Impossibile caricare il file o l'assembly 'Microsoft.Expression.Encoder, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' o una delle relative dipendenze. Tentativo di caricare un programma con un formato non corretto.


    ************** Testo dell'eccezione **************
    System.BadImageFormatException: Impossibile caricare il file o l'assembly 'Microsoft.Expression.Encoder, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' o una delle relative dipendenze. Tentativo di caricare un programma con un formato non corretto.
    Nome file: 'Microsoft.Expression.Encoder, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
       in TEST_VS2012_OFFICE2010_PPTADDIN.ThisAddIn.ThisAddIn_Startup(Object sender, EventArgs e)
       in Microsoft.Office.Tools.AddInBase.OnStartup()
       in TEST_VS2012_OFFICE2010_PPTADDIN.ThisAddIn.FinishInitialization() in c:\SOURCE\TEST_VS2012_OFFICE2010_PPTADDIN\TEST_VS2012_OFFICE2010_PPTADDIN\ThisAddIn.Designer.cs:riga 57
       in Microsoft.Office.Tools.AddInBase.Microsoft.Office.Tools.EntryPoint.FinishInitialization()
       in Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.ExecutePhase(ExecutionPhases executionPhases)
       in Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.ExecuteEntryPoints()

    === Informazioni sullo stato di preassociazione ===
    REG: Utente = TABLE3\user
    REG: DisplayName = Microsoft.Expression.Encoder, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    REG: Appbase = file:///C:/SOURCE/TEST_VS2012_OFFICE2010_PPTADDIN/TEST_VS2012_OFFICE2010_PPTADDIN/bin/Debug/
    REG: PrivatePath iniziale = NULL
    Assembly chiamante: TEST_VS2012_OFFICE2010_PPTADDIN, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
    ===
    REG: l'associazione ha origine nel contesto di caricamento di default.
    REG: impossibile trovare un file di configurazione dell'applicazione.
    REG: utilizzo del file di configurazione host: 
    REG: utilizzo del file di configurazione computer da C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
    REG: riferimento post-criteri: Microsoft.Expression.Encoder, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    REG: tentativo di download del nuovo URL file:///C:/SOURCE/TEST_VS2012_OFFICE2010_PPTADDIN/TEST_VS2012_OFFICE2010_PPTADDIN/bin/Debug/Microsoft.Expression.Encoder.DLL.
    ERR: impossibile completare l'installazione dell'assembly (hr = 0x8007000b). Sondaggio terminato.



    ************** Assembly caricati **************