我在Visual Studio中的项目是只读的.我做了什么 [英] My project in Visual Studio is Read Only. What did I do?

查看:449
本文介绍了我在Visual Studio中的项目是只读的.我做了什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一定做错了什么.我在Visual Studio 2008中有一个C#项目.突然我看到我的类被锁住了,当我将鼠标悬停在顶部选项卡上的类名时,我看到的类名是:C:\ Myprojects \ Oder.cs [只读]!

I must have done something wrong. I have a C# project in Visual Studio 2008. All of a sudden I see a lock on my classes and when I hover the class names on the top tab I see the class name as : C:\Myprojects\Oder.cs[Read Only] !

您之前发生过类似这样的事情吗?

Has something weird like that happened to you before?

推荐答案

想到了两种可能性:

您是否已将项目添加到源代码管理中?

Have you added the project to source control?

您是否已将项目文件夹(及其所有子文件夹)标记为只读?

Have you marked the project folder (and all it's sub folders) as read only?

当然,如果其他人可以访问您的计算机,则可能已经做过这两种事情.

Of course, someone else may have done either of these things if they have had access to your machine.

这篇关于我在Visual Studio中的项目是只读的.我做了什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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