Added Makefile project for Visual Studio 2015 solution is always out of date

I have a pretty big solution (80 projects). I recently upgraded to VS2015U1 and changed the solution to include the makefile (nmake) project, which is a prerequisite for all other projects. The intention was that this make file should copy some third-party software into the bin directory of the project in order to simplify the collection of data for testing and packaging.

The problem is that this makefile project always looks deprecated. This means that I always get a popup when you press F5 to test.

I have Googled until my Googler was sick, including everything I found on stackoverflow. None of these solutions help:

  • There are no files in this project, so none of them are out of date. I even put the makefile as a project file, but that doesn’t help.
  • I added a fake output file to the makefile project including it in the properties, and make the make create file one when it works.
  • I set the verbosity of the assembly for diagnostics and went through the .log file widely and did not find a hint of any file that was missing or outdated.
  • None of the other projects can be restored, only one makefile. When the makefile works, everything seems to be for the files to be copied.
  • The .tlog files associated with the new project are missing.
  • Performing a clean build or rebuild does not help; this project is always out of date.

Does anyone have any other ideas?

+4
source share
2

( , ), makefile .

, , , "". Pre-Build, Pre-Link Post-Build Event. make/nmake. , .

, , , .

0

MSBuild, Visual Studio, , nmake, nmake MSBuild .csproj , . , , , , , .

. MSBuild , ..

0

Source: https://habr.com/ru/post/1623315/


All Articles