Dries
Dries

Reputation: 1005

Visual Studio throws error on file I removed from the project

As the title says, I've removed a file from a project I'm working on but it still shows up in the build (well, the errors that is).

I have no idea why it would do that. I cleaned the project and did a full rebuild. I checked everything in the Solution Explorer but can't find the file.

Upvotes: 0

Views: 1081

Answers (1)

OshoParth
OshoParth

Reputation: 1552

Removing the files from the project directory is not enough you need to remove the actual file from the file system to avoid ambiguity so navigate using the windows explorer and delete the file.

Upvotes: 1

Related Questions