简体   繁体   中英

Visual Studio SQL files not visible in Solution Explorer

I added some .sql files to a project in my VS 2013 solution. I can see that the files have been added in Source Control Explorer, but in Solution Explorer the files don't show up in the SQL folders I added. If I click on the "Show All Files" I see an outline of the files, but I don't see why I should have to do that. In a different project of the solution these .SQL files do show up. Any idea what is going on here?

In order to get files added from outside the Solution to show up you need to:

  • enable ' show all files' in the solution explorer
  • right click on the files an select "add to solution"

This will work even if files have not yet been added to version control. They will be opened added if that is the case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM