I'm about to start porting a bunch of .NET apps to Visual Studio 2010 as some .NET 4 features are required in the apps. The resulting apps need to be able to call Office 2003, Office 2007 and Office 2010 interop assemblies.
What is a good way to setup a develop environment that supports this?
Related
I am working on making a Outlook Add-in for Outlook 2013. The issue is, I use Visual Studio 2010. I did some googling and found that I need the Developer Tool Kit and it lead me here. I installed the tool kit, but I am still not seeing any new Templates. What am I doing wrong, or what can I do to get that Outlook Add-in?
Thanks in advance!
Unfortunately VSTO allows creating version-specific add-ins. VSTO 2010 (Visual Studio 2010 Tools for Office Runtime) is shipped with Visual Studio 2010 Professional edition or above. It supports creation and editing of document- and application-level add-ins for Office 2007 and Office 2010. You need to use later Visual Studio versions for creating COM add-ins for Office 2013. However, you can run solutions in Office 2013 that were created in earlier Visual Studio versions, see Running Solutions in Different Versions of Microsoft Office for more information.
Is it possible to install assemblies or tools for Microsoft Office 2013 on development machine that has Microsoft Office 2016?
Or for example can i target/develop for multiple versions of Microsoft Office on a development PC that has Microsoft Office 2016?
You can support lower Office versions out of the box. Solutions that were created by using Visual Studio 2013, Visual Studio 2013 or Visual Studio 2010 can run in Office 2013, Office 2010, or the 2007 Microsoft Office system. However, the solution can use only those features and APIs that are available in all three versions of Office. See Running Solutions in Different Versions of Microsoft Office for more information.
I have Visual Studio Express 2013 for Windows 8 apps installed, now i want to upgrade it to also support c# desktop apps.
Can you please help me out in upgrading it so that in the end I want to have only one Visual studio that supports both Windows 8 Store apps + C# desktop apps.
You'd need to buy Visual Studio Professional 2013 if you want a single program to do both.
Microsoft have 3 Express versions:
Express 2013 for Web - (does ASP.NET & ASP.NET MVC web sites)
Express 2013 for Windows - (does Windows 8 and windows Phone apps)
Express 2013 for Windows Desktop - does C# desktop apps (Winforms, WPF)
To do both Windows 8 Store apps and C# desktop apps you need 2 versions of express installed.
The Professional (and higher) versions however can do all these types of project in one application.
See Microsoft for details:
Visual Studio Express versions
Visual Studio Professional NB - it can be bought with or without a MSDN subscription.
Is there a futurepack or something like that for Visual Studio 2010, where i could use new ribbon UI of Microsoft Office 2010 in MFC. I know that Microsoft released FuturePack for VS 2008 to develop apps in C++/MFC with Office 2007 RibbonUI. I have searched for that, but found only in managed code (.NET) in C# for WPF. But i would like to develop using MFC.
Thanks in advance.
Visual Studio 2010 now includes a Ribbon Designer as part of the application creation wizard.
Does VSTO 3.0 (using Visual Studio 2008) support both Office 2003 and Office 2007 installed side-by-side on a single development computer so that both Office 2003 and Office 2007 can be targeted (in separate solutions)?
I have seen conflicting information about this.
NO: http://msdn.microsoft.com/en-us/library/bb398242.aspx
Visual Studio Tools for Office does not support installing Microsoft Office 2003 and the 2007 Microsoft Office system (or different versions of the same application, such as Word 2003 and Word 2007) side-by-side on the development computer. To develop solutions for different versions of Microsoft Office, use a different development computer for each version of Microsoft Office.
YES: http://msdn.microsoft.com/en-us/library/15s06t57.aspx
When you install Visual Studio Tools for Office, the primary interop assemblies are automatically installed to a location in the file system, outside of the global assembly cache. When you create a new project, Visual Studio Tools for Office automatically adds references to these copies of the primary interop assemblies to your project. Visual Studio Tools for Office uses these copies of the primary interop assemblies, instead of the assemblies in the global assembly cache, to resolve type references when you develop and build your project.
These copies of the primary interop assemblies help Visual Studio Tools for Office avoid several development issues that can occur when both the 2003 and the 2007 versions of the Office primary interop assemblies are registered in the global assembly cache.”
Has anyone done this and were there any problems?
You can target both 2003 and 2007 with the same computer - but you need two different programs for that in Visual Studio (e.g. MyCoolThingfor2003.sln and MyCoolThingfor2007.sln) as they have different interops. But you should not have both Office programs installed on that same computer.
You can't install Office 2003 and 2007 side by side. The two links you posted talk about different things. The first link says no to installing the actual Office 200x application, whereas the second link refers to the PIA (which is just a wrapper). You can install any version of the PIAs on a computer side by side, but it doesn't mean it'll launch different versions of office.
If your goal is to develop a VSTO addin that supports both Office 2003 and Office 2007, then you'll need to develop on a system with VS2008 + Office 2003.