Open Charles-Gagnon opened 1 year ago
Historically, <None>
items should be able to be any sort of file, so I'm thinking that the solution is to just to disallow adding the .sqlproj to itself (only blocking self-references, not blocking adding any .sqlproj to any project).
Adding to DacFx.Projects with https://msdata.visualstudio.com/SQLToolsAndLibraries/_git/DacFx/pullrequest/1056966
When you add an existing item you can select and add the *.sqlproj file itself. This means you can then also delete said file, which will then end up essentially deleting the project itself (the contents are still there though).
It seems like we should probably only allow certain files to be added, or at least filter out a few important ones like *.sqlproj from being selected.