Last post Mar 15, 2019 05:37 AM by lingmaaki
May 15, 2018 05:43 PM|simpleprogrammer|LINK
I am having the following errors in my VS build
Error Files has invalid value "<<<<<<< HEAD". Illegal characters in path.
Every time I try to Rebuild my solution or running my project it gives me this error. I tried to find where are the paths for deleting that values but I couldn't find it. I use git with bitbucket and Im sure this is something about a merge.
Mar 02, 2019 08:23 AM|ArslanShahab|LINK
Yes, it is about merging conflicts. Usually Visual Studio highlights most of the errors with file paths. However, it does miss some files.
All you have to do is REMOVE the "obj" folder from your solution.
If you are in Visual Studio , you have to select "Show All/Hidden files" as "obj" folder is hidden, and then delete it.
You can also delete it by going to your directory where your project is stored e.g C:/Users/username/source/repos/project/ (can be different in your case).
There you go, it will resolve your problem. Happy Coding ! :)
Mar 15, 2019 05:37 AM|lingmaaki|LINK
Delete the obj folder within your project and it will fix the issue
The obj folders are hidden in Visual Studio. You can see them with a file explorer.
Also you try to search the entire solution for the value and remove it from where it occurs.