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