"{应用程序名称}的安全警告-Visual Studio 2008 [英] "Security Warning for {app name} - Visual Studio 2008

查看:67
本文介绍了"{应用程序名称}的安全警告-Visual Studio 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

每次我创建新项目或打开现有项目时,VS 2008都开始显示安全警告对话框,如下所示:

应用程序名称}项目文件已被自定义,并且在Microsoft Visual Studio中打开时,通过执行自定义生成步骤可能会带来安全风险.如果此项目来自不可靠的来源,则可能会损坏您的计算机或损害您的私人信息."

给出了两个选项:
1)加载用于浏览的项目
2)加载通常,项目

更多详细信息"按钮会打开一个消息框,其中包含:在项目文件"C:\ Users \ Administrator \ AppData \ Local \ Temporary Projects \ WindowsApplication1 \ WindowsApplication1.vbproj"中找到该文件.由于此文件位于系统目录,根目录或网络共享中,因此写入该文件可能有害."

1)自从出现此错误之前,我没有更改任何设置,并保留了所有目录相同的
2)文件位置位于"C:\ Users \ Administrator \ Documents \ Visual Studio 2008 \"中-具有完全权限
3)Vista UAC已关闭
4)我正在使用管理员登录名
5)我尝试了工具">选项">项目和解决方案">常规",并且未选中警告用户"当项目位置不受信任时" -没用.

在Google搜索很多人后发现了这个消息,但还没有找到解决方案.

任何帮助都值得赞赏!
Alex Webb

Hi All,

Out of the blue VS 2008 has started showing a security warning dialog every time I create a new project or open an existing one as follows:

"The {application name} project file has been customized and could present a security risk by executing custom build steps when opened in Microsoft Visual Studio. If this project came from an untrustworthy source, it could cause damage to your computer or compromise your private information."

Two options given are:
1) Load Project for Browsing
2) Load Project Normally

A 'More Details' button opens a message box with:
"An item referring to the file "" was found in the project file "C:\Users\Administrator\AppData\Local\Temporary Projects\WindowsApplication1\WindowsApplication1.vbproj". Since this file is located in a system directory, root directory or network share it could be harmful to write to this file."

1) I havent changed any settings since before getting this error and have kept all directories the same
2) file locations are in "C:\Users\Administrator\Documents\Visual Studio 2008\" - with full permissions
3) Vista UAC is turned off
4) I am using the Administrator login
5) I tried Tools>Options>Projects and Solutions>General - and un-checked "Warn user when the project location is not trusted" - didnt work.

Seems after google'ing that lots of people are getting this but havent found a solution yet.

Any help much appreciated!
Alex Webb

推荐答案

听起来像引用文件的项位于另一个用户\程序可以访问的路径中.尝试将其移动到只有您可以访问它的文件夹中.让我知道这是否有效.
It sounds like the item referring to the file is located in a path that is accessible by another user\program. Try moving it to a folder where only you have access to it. Let me know if this works.


这篇关于"{应用程序名称}的安全警告-Visual Studio 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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