Deploy a C# console application to a remote server using Jenkins -


i'm new deployment , jenkins. here trying deploy simple c# console application (an .exe file) onto remote server. i'm using jenkins this. so, configure jenkins job run following batch command:

set enablenugetpackagerestore=true nuget restore "c:\windows\microsoft.net\framework64\v4.0.30319\msbuild" %workspace%\consoleapp.csproj /t:build /p:configuration=release;deployonbuild=true;publishprofile=server1

the jenkins job gets build successfully. however, app not published remote server. %workspace% refers source control workspace , configured well. also, have .pubxml file in console app project specifying publishurl(path inside remote server) well.

i followed same steps web app , worked charm. different console application?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -