项目位置不被信任在Visual Studio中的错误 [英] The Project Location is Not Trusted error in Visual Studio

查看:277
本文介绍了项目位置不被信任在Visual Studio中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很简单的错误,原因是显而易见的 - 我映射网络驱动器,和我打开从它的解决方案。 Visual Studio中给了我这个错误。

Quite a simple error, and the reason is obvious - I mapped a network drive, and I am opening the solution from it. Visual Studio gives me this error.

我试了谷歌搜索,并让我吃惊,无法找到一个解决。我运行Visual Studio 2008。

I tried googling, and to my surprise, couldn't find a fix. I am running Visual Studio 2008.

我发现谷歌的解决方案,说我应该运行的的Mscorcfg.msc ,但不幸的是,我似乎并没有在我的电脑上的任何地方有一个文件。我也不似乎在与.NET框架我的控制面板上任何东西。我当然可以,运行.NET应用程序很好,所以该框架的存在。

The solutions I found on google say I should run Mscorcfg.msc, but unfortunately, I don't seem to have that file anywhere on my computer. Nor do I seem to have anything in my control panel relating to .NET Framework. I can of course, run .NET applications fine, so the framework exists.

另一种解决方法建议运行的Caspol.exe ,虽然这是.NET 2,我也试过无济于事。

Another solution suggested running caspol.exe, although this is .NET 2, which I also tried to no avail.

任何想法?

我要补充一点,我想加入到任何受信任列表中存在的路径。

I should add that I am trying to add the path to whatever trusted list there is.

推荐答案

caspol是正确的工具来使用,以晚饭preSS这些警告。下面是我用命令:

caspol is the right tool to use to suppress these warnings. Here is the command I use:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\caspol -m -pp off -cg 1.2 FullTrust

这将给予充分的信任,以本地Intranet code组。为了使这个有理想的效果,必须将计算机配置为识别份额Intranet区域之中。

This will grant full trust to local intranet code group. In order for this to have the desired effect, the computer must be configured to recognize the share as being in the intranet zone.

需要注意的是,该命令对.NET 2.0,3.0和3.5。 (3.0和3.5的安全设置是由caspol实用程序2.0控制)。

Note that this command is for .NET 2.0, 3.0, and 3.5. (Security settings for 3.0 and 3.5 are controlled by the caspol utility for 2.0).

这篇关于项目位置不被信任在Visual Studio中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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