How do I setup VSTO for visual studio on mac - macos

I have trouble setting up vsto for mac. there is basically no documentation. I do not know if there is even a way to do this.

COM addins in general and VSTO in particular are Windows only. Only the new JS web addins are supported by the macOS version of Office.

Related

Is there any solution available for VSTO Add-in support for Mac operating system?

I don't know whether it supports VSTO Add-in to Mac(iOS) operating system.
Can anybody please suggest me about MAC have to support VSTO Add-in? If it doesn't mean, what I should use to create a project which supports both Windows and Mac(iOS)?
VSTO add-ins are based on COM technology which works only on Windows OS. MAC and IOS are not supported. Try developing Web Addins for Office. Checkout https://learn.microsoft.com/en-us/office/dev/add-ins/overview/learning-path-beginner

Developing Outlook addin for Mac

I have already created an addin for Ms Outlook in Windows using visual studio 2010 and C#. It works fine with Ms Outlook 2007,2010,2013 and 2016 on Windows.
Now I would like to create the same addin for Outlook on Mac. I have downloaded a .pkg file of Outlook for Mac and have installed it. For activating It needs a Office 365 subscription and I have subscribed a one month free trial period.
Now to build the addin, I have surfed the internet.But I have not found any proper post related to this topic. Please help.
.NET/COM add-ins built with Visual Studio do not work on Outlook for Mac. Only the new web Outlook Add-ins (using JavaScript + HTML5 + CSS) will work. See: https://dev.office.com/docs/add-ins/overview/office-add-ins
Outlook for Mac does not support plug-ins as #Eric said. you could use office 365 apps(Office Add-ins ) or There are ways to add limited functionality to Outlook via AppleScript.

Outlook Calender entry in Visual Studio Community

I'm working on a C# application that (among others) needs to be able to add new entries into an Outlook Calender.
After looking up how to do this in Visual Studio , I found that this isn't possible in the Express version , that I was using , because of the missing templates.
But now I'm using Visual Studio Community. I've tried to use this code from MSDN but that doesn't seem to work. Am I missing an import ? Or are Office add-ins also not supported in VS Community , like they were in VS Express ?
If so , is my best option still to use Add-in Express ? Or am I overlooking something else ?
The Community edition of Visual Studio 2013 corresponds to the Professional one. So, you can use VSTO for developing Office add-ins. You just need to install Office dev tools.
See Walkthrough: Creating Your First Application-Level Add-in for Outlook to get started developing an Outlook add-in.
Finally, you may consider a VSTO based add-in as a regular .Net application where you can use all BCL classes and third-party components.

Will a Microsoft Office Add-In developed in Visual Studio work for both a Windows and Mac (OS X) versions of MS Office?

I want to develop a Microsoft Office Word Add-In for Mac users. I would like to know if we create it using Visual Studio in Windows will it be compatible with the Mac version of Microsoft Office or is there a completely different way to develop for Mac?
Please provide links so that I can follow some guidelines. The http://msdn.microsoft.com/ site doesn't exactly speak of the platform compatibility of the Add-In.
Office for Mac does not provide an API for add-ins and documentation for office automation on Mac OS X is rare.
However, you should be able to customize it using VBA solutions as described in this tutorial by Microsoft:
Office for Mac: Automate tasks with Visual Basic macros

VSTO project with multiple versions of office installed

I currently have office 2010 installed, and am trying to assist a coworker who's still using 2007 with VSTO solution. This is turning into a mess since my copy of visual studio thrashes the project files updating them to point to the O2010 dlls. If I were to install office 2007 beside 2010 would I be able to open the solution without the upgrade wizard mangling everything, or are my only options making significant architectural changes to the solution or reverting to O2007 until my employer makes O2010 the new standard.
You cannot run Outlook versions side-by-side (and here).
You can still target both 2007 and 2010, but you need to research embedded interop types.
You shouldn't need to install Office 2007 to create Office 2007 add-ins. I think the problem here is that you're missing the proper VSTO components.
Make sure you've installed the following:
All .NET and developer tools from Office (from the Office 2010 installer -- no need for the Office 2007 installer)
Microsoft Office Developer Tools from Visual Studio (from the VS installer)
Microsoft Office 2007 Primary Interop Assemblies
Microsoft Visual Studio 2010 Tools for Office Runtime
Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime)
If any of these are already installed then I recommend repairing their installations.
Try disabling this option:
Options > Office Tools > Project Upgrade > Always upgrade to installed version of Office (more info here)
I don't think this solves the root problem which is that you shouldn't even be prompted to upgrade your project. I still suspect that there is something wrong with the installation of your VSTO-related components (see my other answer for that info). However this may be an easy workaround.
To be clear, you can develop Office 2007 add-ins without having Office 2007 installed. I'm doing so right now without having to follow this workaround.

Resources