Programmatically get parameters required by DACPAC
The DACPAC is just a zip file, so you could UnZip it and parse the model.xml file contained. 

small extract from one of my dacpacs:

&lt;DataSchemaModel FileFormatVersion="1.2" SchemaVersion="2.4" DspName="Microsoft.Data.Tools.Schema.Sql.Sql100DatabaseSchemaProvider" CollationLcid="1033" CollationCaseSensitive="False" xmlns="http://schemas.microsoft.com/sqlserver/dac/Serialization/2012/02"&gt;
    &lt;Header&gt;        
        &lt;CustomData Category="SqlCmdVariables" Type="SqlCmdVariable"&gt;
            &lt;Metadata Name="ABC" Value="" /&gt;
            &lt;Metadata Name="XYZ" Value="" /&gt;
        &lt;/CustomData&gt;


so I need to define the SqlCmdVariables ABC and XYZ for this dacpac