用于MS构建的Perforce任务

用于MS构建的Perforce任务

问题描述:

是否有用于Perforce的社区MSBuild任务(例如,甚至只是基本同步)?

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

MSBuild社区任务或MSBuildExtenstion包似乎都没有.

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

它看起来像开源的 Exec任务执行命令行命令来为您执行这些操作.

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.