VSTO Add-in may fail to load if signed by some SHA256 certificates [Update : Fixed with latest VSTO runtime]

Symptom VSTO add-in may fail to load if all of the following conditions are true:- The SHA256 certificate used to sign the add-in is based on SHA256 algorithm (http://www.w3.org/2000/09/xmldsig#rsa-sha256) “Require Add-ins to be signed by Trusted publisher” setting is checked in Office Trust Center. The deployment manifest is not accessible (For e.g. you installed the VSTO…


Using MSBUILD through command line or from TFS Server to compile VSTO projects may fail with error ‘The "SignFile" task could not be initialized with its input parameters’

Symptom You may get the following errors if you try to compile VSTO Projects through MSBUILD through command line or from TFS Server Post Visual Studio Update 3 C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v12.0\OfficeTools\Microsoft.VisualStudio.Tools.Office.targets (268): The “TargetFrameworkVersion” parameter is not supported by the “SignFile” task. Verify the parameter exists on the task, and it is a settable public instance…

2

Troubleshooting common VSTO issues – Part 2

In this blog post we will talk about some common errors related to VSTO 3.0 and 4.0. For VSTO 2.0 related issues you can check out the blog post Troubleshooting common vsto issues part 1. Common Error 1: Customization fails to load while opening a customized document targeting VSTO 3.0/4.0 from a network location with…

4