Add Assembly/Steps to Solution RRS feed

  • Question

  • Hi,

    I'm trying to add assemblies and steps to a unmanaged solution in code but I can not seem to find the right call.

    I've looked into AddSolutionComponentRequest but that seems only for the entity itself instead of individual assemblies, steps.

    Can anyone help/recommend whats needed?

    Many thanks


    Wednesday, November 6, 2013 10:55 AM


  • I was using the wrong ComponentType. they are Here.

    AddSolutionComponentRequest addReq = new AddSolutionComponentRequest()
        ComponentType = 91, //pluginassembly
        ComponentId = plugs.Id,
        SolutionUniqueName = solution.Name
    var response = (AddSolutionComponentResponse)_orgService.Execute(addReq);



    • Marked as answer by BenGabb Wednesday, November 6, 2013 11:39 AM
    Wednesday, November 6, 2013 11:38 AM