Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015: Create VSTO project for Office 2010 and above that targets .NET 3.5

Is it possible to create VSTO project for Office 2010 and above that targets .NET 3.5 in Visual Studio 2015?

When I try to create it I don't see any project templates: 1

If I change version of .NET Framework to 4.0 or above then I can see project templates for Office 2010: 2

I have Windows 10 with activated .NET 3.5 feature, VS 2015 Enterprise.

like image 666
Vladimir Almaev Avatar asked Sep 04 '15 09:09

Vladimir Almaev


People also ask

How do I add VSTO to Visual Studio?

To create a new Excel VSTO Add-in project in Visual StudioStart Visual Studio. On the File menu, point to New, and then click Project. In the templates pane, expand Visual C# or Visual Basic, and then expand Office/SharePoint. Under the expanded Office/SharePoint node, select the Office Add-ins node.

How do I install a VSTO File?

Right-click on the setup.exe file and select Run as administrator. Click OK. Follow the prompts to install VSTO. Install only VSTO (do not install the Plug-in for PPM at this time).

Does MS Office require .NET framework?

Microsoft Office is COM-based and written using C-languages (C, C+, C++, but not C#), so the . NET Framework is not required.


1 Answers

MSDN says that we cannot develop VSTO Addins that targets .NET 3.5 since Visual Studio 2012: 1

For more information, please, see "Visual Studio Tools for Office Runtime Installation Scenarios":

  • Visual Studio 2010
  • Visual Studio 2012
like image 175
Vladimir Almaev Avatar answered Oct 08 '22 10:10

Vladimir Almaev