i have created in vs2015 azure cloud service worker role. these 2 projects.
i want know how can pack , publish cloud service tool/cli?
when google 'deploy azure cloud service' result saying within visual studio or visual studio team system.
this not want!
we can use cspack command line tool package cloud service. if application contains worker role, refer following command.
cspack d:\xxx\xxx\servicedefinition.csdef /role:workerrole1;d:\xxx\workerrole1\bin;d:\xxx\workerrole1\bin\debug\workerrole1.dll
and refer publishcloudservice.ps1 script template in this article.
cspack not found in powershell commandlets
the cspack run in windows powershell on side. add c:\program files\microsoft sdks\azure\.net sdk\[sdk-version]\bin
in path system environment variables, , run following command package cloud service.
Comments
Post a Comment