Easy!
-
Right-click your project and select “Unload Project”
-
Right-click again and “Edit your_project.csproj”
-
Search for the duplicate files mentioned in the error message and remove them.
-
Save and close.
-
Right-click to choose “Reload Project” view image