Answered Probing in office 2010 project

  • 2012年8月1日 17:04
     
     

    Hi,

    I have multiple office 2010 addins and a common dll..i cant control the Office 2010 addin code because it coming from other team..

    I am owner of one common dll that will help the office 2010 Addins to do common utility like logging , caching and notification on client machine..

    My common dll keeps on changing I don't want everytime i change my dll i have to ask the other team to recompile and redeploy there code..

    Can anyone help me if probing or any other alternate possible like replacing dll..I don't want Addin team to make any code change or load my assembly dynamically..

    I

    Thanks,

    Alkingson


    • 編集済み Alkingson 2012年8月1日 17:24
    •  

すべての返信

  • 2012年8月2日 7:21
    モデレータ
     
     

    Hi Alkingson,

    I would recommend you create a Interface for other other team, and you common dll will inherit this interface. Then you can tell other team to invoke your assembly via reflection and the particular interface which you provide to them. Now other team will use the new assembly come form your side without recompile the soultuion.

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    • 回答としてマーク Tom_Xu_WXModerator 2012年8月7日 9:05
    • 回答としてマークされていない Alkingson 2012年8月7日 15:02
    •  
  • 2012年8月2日 9:18
     
     回答済み
    actually, since he does not want to make them recompile their dll or load hos assembly dynamically, reflection is not needed. As long as you do not change created interface and they will interact with your code only through it, it will be ok to replace your dll with new one 'on the fly' (as long as code using your dll is not loaded into any process)
  • 2012年8月7日 15:07
     
     

    Tom,

    I just want to replace shared dll and not ask other team to change the code..sorry but your suggestion will not work please check my question again I do not have any control over other team code..

    thanks

    Alkingson

  • 2012年8月9日 1:36
    モデレータ
     
     

    Hi Alkingson,

    What about DamianD's suggestion?

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us