开发者

Why is my visual studio 2008 project read-only

开发者 https://www.devze.com 2022-12-14 02:36 出处:网络
I\'m working on a project for scho开发者_StackOverflowol, we use visual studio 2008 there and I use it at home, both are express edition. The project in question I started at school, but I cannot edit

I'm working on a project for scho开发者_StackOverflowol, we use visual studio 2008 there and I use it at home, both are express edition. The project in question I started at school, but I cannot edit it at home, when I open the .sln I get this

"The IntelliSense information will not be available for .VC++ projects because the Intellisense database file Location/Junk.ncb could not be opened for writing.

Other features will also be affected if the solution directory is read-only."

How do I open my project so that I can edit it?


Two suggestions:

  • Make sure you don't already have the solution open in Visual Studio (this may sound dumb, but you can't open a solution in two Visual Studio instances at the same time)
  • Delete the Junk.ncb file (this file is generated by Visual Studio; it will be recreated when you reopen the solution).


To make your solution directory writable, right-click on the solution directory, select Properties, and uncheck the Read-Only checkbox in the dialog that opens.


  • It's open somewhere else?
  • You saved the solution on a CD and copied the files to your hard drive? (I have to change the attributes manually on my files because the read-only attributes transfer to the copies on the hard drive.)
  • It's checked in under source control?


Probably because you already have this solution open in another Visual Studio window.


Maybe an instance of Visual Studio hang up and didn't response but it still held Junk.ncb

0

精彩评论

暂无评论...
验证码 换一张
取 消