I am not sure if there is another method for choosing a project, but some steps will help you achieve your goal (note: this is verified and confirmed that it works):
- Set up continuous deployment for your website to the Git repository (BitBucket)
- Make an initial commit to make sure the configuration is up and running
- Connect to your site via FTP (if you donβt know how to read the tutorial )
- Go to the following folder on FTP:
/site/deployments/tools - note that this folder may be hidden. If so, just enter it into the FTP client software. - In this folder you will see
deploy.cmd file - download this file (
deploy.cmd ) - open the file to edit it with your favorite text editing tool.
- there are two lines with
msbuild.exe that instruct which project will be built ( MyProjectfolder\MyProject.csproj ) - change the correct path for another project and do not forget that the other project is also in a different folder (i.e.
MyOtherProjectFolder\MyOtherProject.csproj ) - save
deploy.cmd - download the edited
deploy.cmd and rewrite the old one in /site/deployments/tools - commit a new change to the source repository of the source code on BitBucket
- have a cup of coffee and have fun!
source share