I developed a plug-in (extension) for TFS 2015.
The plug-in is actually a custom build task that can be added as a step in the build process.
The problem is that when I developed my plugin, I used TFS 2015 update 2.1 , but my users are working with update 2.0 , and they see this strange error shortly after starting the plugin working in the process of requesting user inputs.
When this line is completed:
var build = tl.getInput(MyConstants.SomeInput, true);
This error occurs:
17:46:13.932774 Process logging event with task handler. 17:46:13.932774
---------------------------------------------------------------------------
17:46:13.932774 System.FormatException: Input string was not in a correct format.
17:46:13.932774 at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
17:46:13.932774 at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
17:46:13.932774 at System.String.Format(IFormatProvider provider, String format, Object[] args)
17:46:13.932774 at Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.BaseContext.LogMessageWithDecoration(LoggingVerbosity verbosity, String decoration, String message, Object[] args) 17:46:13.932774 at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
17:46:13.932774 at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
17:46:13.932774 at System.String.Format(IFormatProvider provider, String format, Object[] args)
17:46:13.932774 at Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.BaseContext.LogMessageWithDecoration(LoggingVerbosity verbosity, String decoration, String message, Object[] args) 17:46:13.932774
---------------------------------------------------------------------------
, 2.0 2.1. , 2.1 , , .
?