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#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,591 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.