什么是Visual Studio项目中的* .VC.db文件? [英] What is the *.VC.db file in Visual Studio projects?

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

问题描述

在我拥有的某些Visual Studio 2015项目中,项目文件夹中有一个*.VC.db文件,以该项目命名:如果项目名称为FooBar,则该文件为FooBar.VC.db.

In some Visual Studio 2015 projects that I have, there is a *.VC.db file in the project folder, named after the project: If the project name is FooBar, then the file is FooBar.VC.db.

此文件看起来像某种数据库,但是我在项目中根本没有使用任何数据库.

This file looks like a database of some sort, but I'm not using any databases at all in the projects.

我最好的猜测是它的运行方式与IntelliSense使用的HelloWorld.sdf数据库类似.

My best guess would be that it is operating similarly than the HelloWorld.sdf database, which is used by IntelliSense.

在新建"中是否相同,或者它做了重要的事情,我不应该删除它?

Is it the same just in "new", or is it doing something important and I shouldn't delete it?

推荐答案

在安装VS2015 Update 2之后会发生这种情况.projname.vc.db文件是 new IntelliSense数据库,它将替换旧的数据库.否则不删除该.sdf文件.您可能还会看到一个隐藏的projname.vc.vc.opendb文件,这是一个锁定文件,用于指示dbase正在使用中.水晶球说肯定有人迟早要手工删除它.

This happens after you installed VS2015 Update 2. The projname.vc.db file is the new IntelliSense database, it replaces the old projname.sdf database. Not otherwise by deleting that .sdf file. You may also see a hidden projname.vc.vc.opendb file, a lock file to indicate that the dbase is in use. Crystal ball says that somebody is bound to have to delete this one by hand sooner or later.

此功能之前已经可用,但

This was already available before but was experimental. Now permanent. Promises are for a rough x2 speedup of IntelliSense. Biggest change appears to be switching to another dbase engine, now using SQLite instead of SQL Compact. Powerful open source confidence vote there :)

暂时不要删除文件,或者下次打开项目时,IS将会出现一段时间的崩溃.好吧,不像以前那样:)在完成项目后,您将考虑进行清理(如果有的话).继续删除.sdf文件,它将不再使用.

Don't delete the file just yet or next time you open the project IS is going to be catatonic for a while. Well, not as long as before :) You'd consider cleanup, if at all, when you're done with the project. Go ahead and delete the .sdf file, it will no longer be used.

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

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