PublishProject consumes an additional license at each call

Hi,

it seems that the PublishProject method on FileBasedProject in the studio desktop API consumes an additional Project Server license at each and every call.

So if we publish several projects after each other, then we may quickly run out of licenses.

There is a minimal repro as well (standalone application, so not a plugin inside Studio):

   var fbp = new FileBasedProject(@"d:\_todelete\Project 1\Project 1.sdlproj");
   fbp.PublishProject(new Uri("">https://SERVER"), false, "USER", "PASS", "/", (sender, args) => { });  // 1 license consumed
   fbp = new FileBasedProject(@"d:\_todelete\Project 2\Project 2.sdlproj");
   fbp.PublishProject(new Uri("https://SERVER"), false, "USER", "PASS", "/", (sender, args) => { });  // +1 license consumed

(Studio 17.2.9.18688)

Is this a known issue / is there a workaround for this?

thank you,

Tamas

Parents Reply Children
  • Hi Paul,

    thank you for the answer! So you suggest creating an sdlppx package instead, and then publishing it via the /api/projectserver/v2/projects/{projectId}/publishpackage endpoint on the REST API? (I'm not regularly rechecking the updates in the GS REST API,  but I have not noticed this so far.)

    The Studio Desktop API is doing more-less the same (thorugh the SOAP (?) API), doesn't it? Plus it extends the sdlproj file with a publishing-related settings group...

    regards,

    Tamas