git 将 README.md 文件添加到 Visual Studio 2015 中的 ac# 项目

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31890717/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 11:15:01  来源:igfitidea点击:

Adding a README.md file to a c# project in Visual Studio 2015

c#gitmarkdownvisual-studio-2015

提问by Neil Billingham

When adding a README.md file to my c# project in Visual Studio 2015 the file doesn't show in the Solution Explorer. It was also untracked in Team Explorer (using Git), but that's easy to fix.

在 Visual Studio 2015 中将 README.md 文件添加到我的 c# 项目时,该文件未显示在解决方案资源管理器中。它在 Team Explorer(使用 Git)中也未被跟踪,但这很容易修复。

Does anyone know how to go about adding it to / showing it in Solution Explorer?

有谁知道如何在解决方案资源管理器中添加/显示它?

Also does anyone know of a VS 2015 add-in to render it nicely in the studio?

还有谁知道 VS 2015 插件可以在工作室中很好地呈现它?

采纳答案by Joe Lloyd

Look in the top of the solution explorer for the option add hidden files. It should appear with dotted outline.

在解决方案资源管理器的顶部查看选项添加隐藏文件。它应该以虚线轮廓出现。

If you wish to add it to the project you can right click and press "add to project"

如果您想将其添加到项目中,您可以右键单击并按“添加到项目”