开发者

Visual Studio becoming out of sync with the file system

I was doing some refactoring today and accidentally renamed a class.

I realized my mistake and used undo. After I was done I successfully built and ran my application.

No files were marked as being changed in the VS GUI. I then committed my changes using AnkSNV. The cruise control build promptly failed.

A bit of invest开发者_开发百科igation revealed that even though VS was showing and had built my code using the old class names, the files on my disk (which were committed to SVN) had the rename change that I had undone saved to them.

This in turn broke dependencies outside of my open solution (realizing this would happen was why I undid the initial change).

Does anyone have a clue how this happened, and short of verifying my files outside of visuals studio to make sure that the changes I'm seeing there are the same as what I would be committing are identical?


In general, I have found that source control clients integrated into Visual Studio are somewhat clunky when renaming files.

To be honest I've just come to expect it and have got used to it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜