"A file or folder with the name 'bluhbluh.cs' already exists"虽然不是
"A file or folder with the name 'bluhbluh.cs' already exists" although it doesn't
每次我尝试创建一个新文件 - 无论是什么类型 - Visual Studio returns 都会给我一个消息框,提示该文件已经存在,而实际上它不存在。一些笔记和我尝试过的:
- 正在重启我的电脑
- 正在重启Visual Studio
- 正在修复Visual Studio
- 删除
/Appdata/Local/Microsoft/VisualStudio/15.0_d0dd68d28
下的ComponentModelCahce
文件夹
- 尝试在没有 git 的 new/old 项目中打开一个新文件确实有效
- 使用
Show All
按钮查看是否存在具有该名称的文件
- 使用荒谬的名字
这仅在 git 个项目中受到影响,我使用:
Visual Assist、Resharper、OzCode、一些插件、clearcase 和 easy git。
解决了 -
问题出在 Microsoft.VisualStudio.QualityTools
dll - 我不得不复制它们,可能其中的某些内容已损坏 - 从另一台 PC 复制新的已经解决了问题。
每次我尝试创建一个新文件 - 无论是什么类型 - Visual Studio returns 都会给我一个消息框,提示该文件已经存在,而实际上它不存在。一些笔记和我尝试过的:
- 正在重启我的电脑
- 正在重启Visual Studio
- 正在修复Visual Studio
- 删除
/Appdata/Local/Microsoft/VisualStudio/15.0_d0dd68d28
下的ComponentModelCahce
文件夹 - 尝试在没有 git 的 new/old 项目中打开一个新文件确实有效
- 使用
Show All
按钮查看是否存在具有该名称的文件 - 使用荒谬的名字
这仅在 git 个项目中受到影响,我使用: Visual Assist、Resharper、OzCode、一些插件、clearcase 和 easy git。
解决了 -
问题出在 Microsoft.VisualStudio.QualityTools
dll - 我不得不复制它们,可能其中的某些内容已损坏 - 从另一台 PC 复制新的已经解决了问题。