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:
If I change version of .NET Framework to 4.0 or above then I can see project templates for Office 2010:
I have Windows 10 with activated .NET 3.5 feature, VS 2015 Enterprise.
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.
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).
Microsoft Office is COM-based and written using C-languages (C, C+, C++, but not C#), so the . NET Framework is not required.
MSDN says that we cannot develop VSTO Addins that targets .NET 3.5 since Visual Studio 2012:
For more information, please, see "Visual Studio Tools for Office Runtime Installation Scenarios":
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With