开发者

Change file permission as part of Publish Web Site

开发者 https://www.devze.com 2023-02-01 22:08 出处:网络
I am working on an ASP.NET web application in Visual Studio 2005. I am using a trace listener to check the values of variables as I test the web application. Every time I publish开发者_Go百科 the web

I am working on an ASP.NET web application in Visual Studio 2005. I am using a trace listener to check the values of variables as I test the web application. Every time I publish开发者_Go百科 the web site it overwrites the entire web site so I need to give my log file write permissions for the ASPNET account again. Is there a way to automate this chore as part of the publishing process?


Maybe you should simply put your log file on a different folder?

For example C:\temp (Give ASPNET permission on this folder)


Additional resources:

How to change permissions from command line: http://www.ehow.com/how_5210173_change-file-permissions-command-line.html

Step-By-Step ASP.NET Automated Build/Deploy

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号