Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

warning MSB8028: The intermediate directory (Debug\) contains files shared from another project

I'm working on C++\CLI that someone else started. The solution is made up of 3 C projects and 1 C++\CLI project that uses them.
I've duplicated the C++\CLI project and change it name and ProjectGUID property in the vcxproj file.

The problem is I still get the error listed bellow.

How can I fix this?

Warning 1 warning MSB8028: The intermediate directory (Debug\) contains files shared from another project (my_project.vcxproj). This can lead to incorrect clean and rebuild behavior. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets 388 5 seebo_prod_line_tool

like image 607
Ido Ran Avatar asked Apr 19 '15 06:04

Ido Ran


1 Answers

Same problem here, solved by

  1. Deleting all Debug\ and Release\ folders (there were more of them in subfolders where I didn't expect them)
  2. Changing the .sln file manually to fix the name of a referenced C++ project (.vcxproj) which apparently was not renamed when renaming the project in Visual Studio
like image 112
Thomas Weller Avatar answered Sep 20 '22 18:09

Thomas Weller