none
How to switch Microsoft.VisualStudio.Tools.Office.Runtime version? RRS feed

  • Question

  • Dear All,

    I develop ribbion for powerpoint, I install VS2008 and office2007, it works very well after I build project, Output windows display:
    ==============================================
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Tools.Office.Runtime.v9.0\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Tools.Office.Runtime.v9.0.dll'
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll'
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System.AddIn\3.5.0.0__b77a5c561934e089\System.AddIn.dll'
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Tools.Applications.Hosting.v9.0\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Tools.Applications.Hosting.v9.0.dll'
    ....
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC\office\12.0.0.0__71e9bce111e9429c\office.dll'
    ==============================================

    Now I install Office2010 in the same machine, But I find there is the different output windows info after I build the same project in vs2008 for office2007
    and some feature can't work well in office2007 now
    ================================================
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Tools.Office.Runtime.v10.0\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Tools.Office.Runtime.v10.0.dll'
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0.dll'
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0.dll'
    ....

    'POWERPNT.EXE' (Managed): Loaded 'D:\WINDOWS\assembly\GAC_MSIL\office\14.0.0.0__71e9bce111e9429c\office.dll'
    ================================================

    1) Microsoft.VisualStudio.Tools.Office.Runtime version is different, One is 9, Another is 10
    2) office version is different, One is office\12.0.0.0__71e9bce111e9429c\office.dll, another is 14.0.0.0__71e9bce111e9429c\office.dll

    Anyone know how to switch Microsoft.VisualStudio.Tools.Office.Runtime and office.dll version when build my project?

    Thanks

    Wednesday, April 13, 2011 10:13 AM

Answers

All replies