Visual Studio和病毒扫描Temp文件夹 [英] Visual Studio and Virus Scan of Temp folder

查看:260
本文介绍了Visual Studio和病毒扫描Temp文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用Visual Studio 2008作为我们的主要开发IDE。我们的安全团队已设置McAfee扫描我们的\本地设置\Temp文件夹中的文件。不幸的是,VS在代码构建期间使用这个目录,这使得开发人员减速。我们已经与安全团队陷入僵局,并且想知道是否有人知道VS中的配置设置,我们可以将文件夹更改为写入这些临时文件的位置。

We are using Visual Studio 2008 as our primary development IDE. Our security team has set up McAfee to scan files in our \Local Settings\Temp folder. Unfortunately VS uses this directory during code builds which is slowing the developers down. We've reached an impasse with the security team on this, and wonder if anyone knows of a configuration setting in VS where we could change the folder to where those temporary files are written.

感谢

推荐答案

使用web.config中编译部分的tempDirectory属性:

Use the tempDirectory property of the compilation section in your web.config:

<compilation debug="true" tempDirectory="C:\Foo">

确保您给ASPNET帐户写入C:\ Foo .NET工作进程正在运行 - 在我的例子中是一个域帐户。)

Make sure you give the ASPNET account write access to C:\Foo (or whichever account your ASP.NET worker process is running under - in my case it's a domain account).

按照: http://msdn.microsoft.com/en-us/library/system.web.configuration.compilationsection.tempdirectory .aspx

这篇关于Visual Studio和病毒扫描Temp文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆