Reputation: 79
I am trying to connect perforce with my nant scripting:
<p4set client="workspace" user="ramesh" port="panda:1666" />
But it is showing me error like:
invalid Element <p4set>. Unknown task or datatype.
Upvotes: 1
Views: 61
Reputation: 32202
You need to ensure you've included NAntContrib in your build script - this is what contains the p4set
task.
Within your project
element in the script, use the loadtasks
task to load NAntContrib:
<project default="help">
<loadtasks assembly="d:\path\to\nantcontrib\NAnt.Contrib.Tasks.dll" />
Upvotes: 1