什么是.sln.ide文件? [英] What is a .sln.ide file?

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

问题描述

我有一个Visual Studio 2012解决方案/Foobar.sln.它包含一个类库项目和一个单元测试项目.几天前,我注意到有一个新文件/Foobar.sln.ide/graph/Foobar.sln.ide.

I have a Visual Studio 2012 solution /Foobar.sln. It contains one Class Library project and one Unit Test project. A few days ago I noticed a new file /Foobar.sln.ide/graph/Foobar.sln.ide.

内容:

<Solution Format="0.0.0.3">
  <Version>0001-01-01T00:00:00Z</Version>
</Solution>

我不确定创建它时在做什么,因为直到创建后几天我才注意到它.

I'm not sure what I was doing when it was created, since I didn't notice it until a few days after it was created.

今天,比我第一次提出这个问题要晚几天,它再次出现在Excel VSTO加载项项目中.我现在的猜测是,它与关闭解决方案有关,因为它出现在我提交更改到打开新项目(不是VS项目,只是正在编辑的文件)之间.我没有转载.

Today, several days later than I first asked this question, it appeared again in an Excel VSTO Add-in project. My guess now is that it's related to closing the solution, since it appeared in between the time I committed my changes and the time I opened a new project (not a VS project, just a file being edited). I haven't reproduced it.

是什么创建了这个文件?它有什么作用?删除安全吗?是否应该签入源代码管理?

What created this file? What does it do? Is it safe to delete? Should it be checked in to source control?

推荐答案

您是否正在使用"Roslyn"编译器.如果是这样,这将在您的解决方案文件夹中创建.sln.ide文件夹.我相信这与编译器缓存有关.

Are you using the "Roslyn" compiler. If so, this creates the .sln.ide folder in your solution folder. I believe it's to do with complier caching.

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

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