< Back

Export-DevartDatabaseProject

Mon Jan 13, 2020 7:04 pm

NAME Export-DevartDatabaseProject



SYNOPSIS

Exports DatabaseProject to NuGet or Zip package.





SYNTAX

Export-DevartDatabaseProject -OutputDirectory <string> -Project <DatabaseProject> [-Format {NuGet | Zip}]

[-Overwrite <SwitchParameter>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Project <DatabaseProject>

DatabaseProject object to be exported.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OutputDirectory <string>

Path to the folder to which DatabaseProject is exported. If the folder doesn't exist, it will be created

during the import of DatabaseProject.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Overwrite <SwitchParameter>

Use this parameter to overwrite any existing build artifact with the same name.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Format <ExportProjectFormat>

Output format of DatabaseProject. If you don't use this parameter, DatabaseProject will be exported to a NuGet

package by default.



Possible values: NuGet, Zip



Required? false

Position? named

Default value NuGet

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Boolean





---------- EXAMPLE 1 ----------



Set-DevartPackageInfo -Project $databaseProject -Id Devart.DbForge.DevOpsAutomation.ScriptFolder -Version

1.0.0-beta

Export-DevartDatabaseProject -Project $databaseProject -OutputDirectory C:\\NuGetRepository -Format NuGet





RELATED LINKS

Online help:

https://docs.devart.com/devops-automati ... oject.html