Opening a MSPS project via command line (using winproj)

L

lumar

Is there a way to open an existing MS Project Server project from command line?
I've already succeeded in opening MSPS by running:
winproj /s ... /u ... /p ... <file name>
This way I can open a MSPP project file and then publish it to the server,
but how can I specify the file name of a project saved in the MSPS database?
 
G

Gene Berger

I believe you have to do this in code using (example)

string publishTarget = string.Format("{0}/{1}", PublishURL, projName);
Guid jobId = Guid.NewGuid();
projectService.QueuePublish(jobId, projectRow.PROJ_UID, true,
publishTarget);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top