开发者

Change file permission as part of Publish Web Site

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜