Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error MSB3541: Files has invalid value

I just deployed an asp.net mvc 3 web application to AppHarbor but it failed:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3932,5): error MSB3541: Files has invalid value "<<<<<<< HEAD". Illegal characters in path. [D:\temp\q5cmde4m.uk1\input\MyProject\MyProject.csproj]

This happened after I opened the project with Visual Studio 2012 (the application was created with VS2010).

like image 928
mosquito87 Avatar asked Jul 28 '13 09:07

mosquito87


People also ask

What does the error msb8041 mean?

Is this page helpful? Any additional feedback? Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy. Thank you. MSB8041: MFC/ATL Libraries are required for this project. This error occurs when MFC or ATL is required for a build, but it wasn't found.

How do I fix MFC installation errors in Visual Studio?

To fix the error, make sure the right version of MFC or ATL is installed. Open the Visual Studio Installer, choose Modify, and choose a version of the required library under Individual Components. Make sure the version and architecture of MFC you install matches the expected by the project you're building.

How do I fix msb8041-MFC/ATL libraries are required?

MSB8041: MFC/ATL Libraries are required for this project. This error occurs when MFC or ATL is required for a build, but it wasn't found. To fix the error, make sure the right version of MFC or ATL is installed. Open the Visual Studio Installer, choose Modify, and choose a version of the required library under Individual Components.


Video Answer


1 Answers

Try to search the entire solution for the value and remove it from where it occurs, and then delete the obj folder from your project. When you build again it should work.

The obj folders are hidden in Visual Studio. You can see them with a file explorer.

like image 114
Razvan Avatar answered Sep 22 '22 02:09

Razvan