VS doesn't change source file location

sunroads 1 Reputation point
2021-10-24T12:49:34.043+00:00

Why VS doesn't accept the actual location of my source file and refers to some file that doesn't exist and was deleted long ago? I asked to not look there but it still does it. Why?

143175-app.png

143182-image.png

Developer technologies | Visual Studio | Debugging
Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2021-10-24T16:23:31.88+00:00

    Sounds like you need to delete the obj folder, perform a rebuild to resolve Visual Studio from looking for the old file.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.