Skip to content

asbarkouky85/ToolSet

Repository files navigation

ToolSet

Set project version

Writing this in the command line will search the working directory [working directory] for the [project name].csproj replace the version number using [version]

You can use %cd% for the working directory if the project you mean to change is in the same folder you are running the command from

toolset -p [project name]                   [version] -d [working directory]

 

Upload NuGet

This will search for any .nuget file in the [working directory] and upload it to the location specified in the [NuGet server] location

toolset -n [NuGet server] -d [working directory]

  • The NuGet server location can either be a local path or an FTP path
  • To upload using FTP you can write the location using like this

ftp:[ftp user]/[ftp password]@[server name]:[ftp port]::[A:active,P:passive]::[target folder in ftp server]

  • You can use %cd% for the working directory if the project you mean to change is in the same folder you are running the command from

Compress Folder

toolset -z “[folder to be compressed]”      “[target zip file path]”

Upload or download

toolset –c "[file path]" “[folder path]”

  • Copies files from path1 to path2
  • Path1 and path2 can be file system locations or ftp locations
  • To use ftp path write
  • To upload using FTP you can write the location using like this

ftp:[ftp user]/[ftp password]@[server name]:[ftp port]::[A:active,P:passive]::[target folder in ftp server]

Restore Database

toolset -r [connection string] [database name] "[backup file]"

 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages