5

Are there any community MSBuild tasks for Perforce (e.g. even just basic syncing)?

Neither the MSBuild Community tasks or MSBuildExtenstion pack seem to have any.

1 Answer 1

4

It looks like the open source MSBuild Contrib project has some p4 tasks. I've never used them before so I can't say how well they work. If they don't work you can always write your own tasks, they are pretty easy if you are able to write .NET code. If you don't want to go that route you can use the Exec task to execute command line commands to perform those operations for you.

Sign up to request clarification or add additional context in comments.

3 Comments

Those tasks actually use nAnt - they aren't native MSBuild tasks
In the end I went the Exec task route. I'll see if there is any desire to update the contrib project.
The link no longer works, and its redirection doesn't either. This might be the latest: github.com/scottdorman/MSBuildContrib

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.