Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

Deploy Package with MSDeploy

$
0
0

Hi,

I am using MSBuild and MSDeploy to create a deployment package and to deploy the contents of the package to a folder. My existing code works, but it also throws the following error:

Error: A value for the 'setAclUser' setting must be specified when the 'setAcl' provider is used with a physical path.

Does anyone know how to get rid or the error or a better way to accomplish my goal (I obviously must be doing something wrong).

See code below (I'm running it as a batch file).

Thanks

 

CD C:\Development\Code\App\App.Web.Site

"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" App.Web.Site.csproj /target:Package /P:Configuration=Dev;PackageLocation="C:\DeployPackage\DEV\App.Web.Site.zip"

"C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe" -verb:sync -source:package='C:\DeployPackage\DEV\App.Web.Site.zip' -dest:auto -setParam:"IIS Web Application Name"="C:\DeployedFiles"


Viewing all articles
Browse latest Browse all 663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>