-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Bug]: Deleted embedded resources dont cause rebuild #10644
Copy link
Copy link
Description
Issue Description
dotnet build does not detect deleted EmbeddedResources.
Steps to Reproduce
- Download example project from https://github.com/innominateAtWork/NoRebuildWhenDeleteEmbeddedResource
dotnet runit outputs all files included as EmbeddedResources in MyApp.csproj and their content- Change the text in File1.txt
dotnet runthe project rebuilds and includes the updated text- Delete File1.txt
dotnet runthe project does NOT rebuild the run looks identical to the prior run
Expected Behavior
MyApp rebuilds because an EmbeddedResources has been deleted.
Actual Behavior
MyApp does NOT rebuild.
Analysis
No response
Versions & Configurations
MSBuild version 17.11.3+0c8610977 for .NET
17.11.3.35201
Reactions are currently unavailable