How do I show the References folder in Solution Explorer without selecting 'Show All Files' in a VB.NET project?

前端 未结 4 1551
天命终不由人
天命终不由人 2021-02-05 02:12

As I compare many C# example projects to my VB.NET projects, I see that the References folder shows in the Solution Explorer without having to select \"Show All Files\". Is it

相关标签:
4条回答
  • 2021-02-05 02:26

    I add a separate folder called Dependencies, add my dll's to it and check them in as described here. That way my dll's are always visible in the Solution explorer without having to turn on Show All Files.

    0 讨论(0)
  • 2021-02-05 02:29

    As of Visual Studio 2015, this behavior has been changed to show the References folder without selecting Show All Files.

    From MSDN:

    What’s new is the References node. This used to be hidden and you had to click Show All Files to see it—but that also showed lots of irrelevant files.

    This previous behavior might have made sense 10 years ago when you’d start with a Windows Forms project and it would generally have the right set of references. But it’s a reality of modern development nowadays that the References node is used frequently—especially to manage NuGet references. It’s a small but handy convenience to be able to find it easily in Solution Explorer.

    0 讨论(0)
  • 2021-02-05 02:29

    Select 'Show All Files option' in the solution explorer.

    0 讨论(0)
  • 2021-02-05 02:36

    I guess I will have to definitively crush your dream. Sorry. It has been a decision by Microsoft to remove this from the default view to reduce the 'clutter'. However, your 'Show All Files' setting will persist when you save your project. So if you show all files once and then save, then it will always be on.

    You can also see your References in the Project designer, which you can always keep open in a tab.

    0 讨论(0)
提交回复
热议问题