How to write MSBuild that can deploy k2 process and set the process rights for users / groups?
Can anyone advise?
Any sample MSBuild script to share?
How to write MSBuild that can deploy k2 process and set the process rights for users / groups?
Can anyone advise?
Any sample MSBuild script to share?
I don't think it is possible using only msbuild - you may have to include an executable in your deployment process to do this. The executable can take advantage of the code in the SourceCode.Framework namespace to do all sorts of things to your deployed processes. I hope that helps, and if I am incorrect in this I hope someone corrects me, but this is the way we manipulate such things for our deployment processes.
What Tim said is correct, i.e. there is not default MSBuild parameter that you can set for this. It is fairly simple to do this as a Post Build command though. Have a look at the Developer Reference, it has an example of exactly this:
Developer Reference > Development Techniques > Creating a custom MSBuildĀ task to set
rights on a process
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.