dot net framework 4.7.2 project is never up to date when using NuGet package System.IO #6360
Labels
Feature-Up-to-date
Build up-to-date check that avoids shelling out to MSBuild unless necessary.
Legacy
Issues against the legacy project system.
Triage-Investigate
Reviewed and investigation needed by dev team
Milestone
This issue has a corresponding ticket on Developer Community. Please vote and comment there to make sure your voice is heard.
When building dot net framework 4.7.2 projects (without any changes), we never see the following line:
The projects always Builds. We expect the project only builds after changing anything, or after issuing a 'Clean' command.
The reason from the detailed logs is:
It seems like the build process decides to not copy the System.IO to the output directory; because a platform System.IO.dll exists with a greater version number.
The check for any changes in the project does not recognize this situation; so it comes to the wrong conclusion (the project is not up to date).
The check for any changes in the project should recognize the situation when a NuGet dll is not copied because a platform dll exists.
This problem costs our team a lot of valuable time. Our solution includes over 75 projects; and it takes several minutes to start a debugging session; even when nothing has changed.
To reproduce the issue:
The text was updated successfully, but these errors were encountered: