Knowledgebase: ASP .NET / ASP
When Publishing an application using Visual Studio 2010, file permissions are altered
Posted by on 07 June 2011 10:17 AM

By default, Visual Studio 2010, sets ACLs upon deployment which can cause issues for your application/website. To set VS 2010 to not set ACLs, please follow the instructions below -

Reiterated, they are -

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

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

This should stop VS 2010 from altering permissions.

(6 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).