2

When I right-click some files of my project (in this case an ASP.NET Core web application), there's an entry named Delete which deletes the selected file and removes it from my solution.

On other files (as in the screenshot below), there isn't Delete, but there is Remove instead of it. The difference is that the files are removed from the solution, but not deleted from the hard disk.

So far I couldn't figure out when Delete is shown as option and when Remove is shown. Does anybody have further information about it?

Visual Studio Remove vs Delete

1
  • In my VS 2017, it is always "Delete", even on .cshtml files... projects have "remove" though...
    – musefan
    Jan 24, 2018 at 16:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.