Fast Up-To-Date Check: Build-time generated <Content/> files not copied #9506
Labels
Feature-Up-to-date
Build up-to-date check that avoids shelling out to MSBuild unless necessary.
Triage-Investigate
Reviewed and investigation needed by dev team
Milestone
Visual Studio Version
Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.10.4
Summary
I have a dependency (Class library) which generates some content files in the build-time. And this files are not copied into the app output directory when FUTDC are used.
Steps to Reproduce
App\bin\Debug\net8.0\ContentDir
folder and make sure that both static and dyncmic content files are here:StaticContent.xml & DynamicContent.txt
App\bin\Debug\net8.0\ContentDir
folder.App\bin\Debug\net8.0\ContentDir
folder contentExpected Behavior
both static and dyncmic content files were copied during the build:
StaticContent.xml & DynamicContent.txt
Actual Behavior
Only static content was copied, the folder contains only the
StaticContent.xml
file.DynamicContent.txt
is missing.User Impact
FUTDC gives the unpredictable build resultd depending on the state of the output folder, so I was forced to disable FUTDC globally.
Additional details
ClassLib\ClassLib.csproj
fileThe text was updated successfully, but these errors were encountered: