Visual Studio Build Error - The "GenerateResource" task failed unexpectedly
Error: "The GenerateResource task failed unexpectedly"
This error is quite common while building the project in Visual Studio. This mainly occurs if the code has been copied from another location.
This solution is pretty simple.
Locate and Open project folder -> obj -> Debug -> Delete content from this folder
Try to build now, should be successful now.