尝试更改目标框架时从Visual Studio接收访问被拒绝的错误 [英] Receiving access denied error from Visual Studio when trying to change target framework

查看:204
本文介绍了尝试更改目标框架时从Visual Studio接收访问被拒绝的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

读取错误,

TargetFrameworkMoniker:保存项目文件时发生错误 'yadayada.csproj'.访问被拒绝.

TargetFrameworkMoniker: An error occurred saving the project file 'yadayada.csproj'. Access is denied.

我正在尝试从.net 3.5切换到.net 4.0或更高版本.

I'm trying to switch from .net 3.5 to .net 4.0 or higher.

该项目已挂接到Visual Studio 2010中的TFS中(也尝试过VS 2013,同样的错误).我在VM环境中.

The project is hooked into TFS in Visual Studio 2010 (also tried VS 2013, same error). I'm in a VM environment.

有关此错误的任何线索吗? Google返回的信息很少.似乎我可以正常访问该文件,但是VS如何访问它?

Any clues about this error? Google returns very little information. It seems like I have proper access to the file, but how is VS accessing it?

推荐答案

听起来像是:

1)文件已被标记为只读.通过查看csproj的属性进行检查.

1)The file has been marked read only. Check this by viewing the properties of the csproj.

2)您的用户没有足够的权限来更改文件-检查csproj的安全性.

2)Your user does not has sufficient permissions to change the file - check security on the csproj.

这篇关于尝试更改目标框架时从Visual Studio接收访问被拒绝的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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