IScmManager.ShareProject Method
Namespace: NextDesign.Desktop
Description
Shares the specified project to the specified configuration management repository.
Arguments
| Name | Type | Description |
|---|---|---|
| project | IProject | Project to share |
| setting | IScmRepositorySetting | Configuration management connection settings |
| comment | string | Initial commit comment |
| remotePath | string | Remote path If null is specified, it will be added to the BaseUrl position of the configuration management connection settings. The default value is null. |
| silent | bool | If true is specified, the progress will not be displayed in a progress bar. The default value is false. |
Return value
- void
Exception
| Name | Exception class | Description |
|---|---|---|
| Invalid operation | ExtensionInvalidOperationException | If the specified project has not been saved If the specified project is already linked to the configuration management system |
| Configuration management repository operation failed | ExtensionScmException | If configuration management repository operation failed |