To delete a file, right-click its icon in the SQL Project Explorer and select Delete. This will remove the file from both the SQL project and the file system.