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

C#
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.
11,466 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,082 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,571 Reputation points 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.