We have the following error when running TFS build using Nugetter template:
TF215097: An error occurred while initializing a build for build definition xxxx: The invocation of the constructor on type 'TfsBuild.NuGetter.Activities.PerformNuGetPack' that matches the specified binding constraints threw an exception.
We use NugetterStandardBuildTemplate.xaml and the following are the parameters:
Invoke powershell script: false
Powershell script file path: leave blank
Additional nuget command line options: leave blank
Base path: NuGetPrePackage
Nuget.Exe file path: C:\Nuget.exe
NuSpec file path: C:\framework.0.0.5.nuspec
output directory: \\test-machine\Drops\NuGetPackage
6) Nugetter - Push and Publish
Api key or file path: C:\
Create only - Do not publish: True
Invoke Push Switch: True
Source (Push Destionation): C:\tfsout
If someone have idea of the error please advise.