Skip to main content

IScmManager.ShareProject Method

Namespace: NextDesign.Desktop

Description

Shares the specified project to the specified configuration management repository.

Arguments

NameTypeDescription
projectIProjectProject to share
settingIScmRepositorySettingConfiguration management connection settings
commentstringInitial commit comment
remotePathstringRemote path
If null is specified, it will be added to the BaseUrl position of the configuration management connection settings.
The default value is null.
silentboolIf true is specified, the progress will not be displayed in a progress bar.
The default value is false.

Return value

  • void

Exception

NameException classDescription
Invalid operationExtensionInvalidOperationExceptionIf the specified project has not been saved
If the specified project is already linked to the configuration management system
Configuration management repository operation failedExtensionScmExceptionIf configuration management repository operation failed