Skipping setting an ACL in a Visual Studio 2010 deployment package

A couple of customers have asked me how to skip setting an ACL in a VS 2010 deployment package. There are project-level properties for everything we do in VS to publish or create a deployment package. To disable setting ACLs, you can do either of these:

1) Edit the .csproj file and set  <IncludeSetAclProviderOnDestination>False</IncludeSetAclProviderOnDestination>

2) msbuild.exe myproject.csproj /p:IncludeSetAclProviderOnDestination=False

NOTE: This is a cross-post from bilalaslam.com. Interested in learning more about Web Deploy? Follow us on Twitter @wdeploy. Need help? Contact bilal dot aslam at microsoft dot com

No Comments