none
Multiple Ribbon XML Add Ins for Microsoft Word 2010 using VS2010 RRS feed

  • Question

  •  

    We are creating Ribbon XML Add Ins for Microsoft Word 2010 using VS2010. We have 2 different Add Ins (2 different projects) and need to share static variables among them. We have created a separate static class(3<sup style="font-family: 'Calibri','sans-serif';">rd</sup> project) and defined static variables inside it. The reference of the 3<sup style="font-family: 'Calibri','sans-serif';">rd</sup> project is added to the other 2 projects (Add Ins) as project reference.

    The challenge is that each of the two Add Ins create a separate instance of the Static Class. Kindly give suggestions to overcome this challenge.

     

    Note: we have replaced the Add Ins with Windows Form and the same thing works there. Both forms share a common instance of the Static Class.

    Wednesday, December 14, 2011 9:36 AM

Answers