Supporting multiple versions of MS Office in Visual Studio
-
I am working on a project in .Net which is an addin to office. The issue is that the solution needs to compile addins for Office 2003, 2007 and 2010 while sharing the same business logic between these. What is the best way to accomplish this and still have a maintainable solution? Ideally I would like to NOT use different development machines for the various office versions, and use only one version of Visual Studio (2010)
-
I am working on a project in .Net which is an addin to office. The issue is that the solution needs to compile addins for Office 2003, 2007 and 2010 while sharing the same business logic between these. What is the best way to accomplish this and still have a maintainable solution? Ideally I would like to NOT use different development machines for the various office versions, and use only one version of Visual Studio (2010)
As an ex IT guy(I just resigned) I did lot's of in house apps some of them Office Interops/add-ins. What I did was this: made a solution with 3 projects: Proj1: bussines logic(huge effort on my side to not say ilogic/nonlogic) Proj2: add in or whatever for 2003 Proj3: add in or whatever for 2007(no 2010) The logic was shared/added as a reference to both Proj2 and Proj3. Compile and install/deploy/xcopy(whatever suit your needs) the needed version(s) on the computers. It worked fine for my needs.
Just an irritated, ranting son of ... an IT guy. At your trolling services