MSB4018 The "DiscoverPrecompressedAssets" task failed unexpectedly exception on build after upgrading to 17.14.2 Preview 1.0
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/MSB4018 The-DiscoverPrecompressedAssets/10910850)._
---
[severity:I'm unable to use this version] [regression] [worked-in:17.14.0 Preview 7.0]
I have an asp.net core solution with a blazor webassembly project hosted in an asp.net core webapi project, acting mainly as yarp proxy, but also hosting some branding files that are not to be compiled into the wasm client but served as static content from the server. Basically I have two index.html files one is in the wasm client code, the other is in the wwwroot of the hosting project. Before upgrading to Version 17.14.2 there was no issue.
But now I am facing following error when building the host project:

Rolling back to 17.14.0 Preview 7.0 solved the issue, and I have no information if it worked in 17.14.1 or not.
---
### Original Comments
#### Feedback Bot on 5/27/2025, 05:27 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
#### FaD aljjdiai on 5/27/2025, 09:51 AM:
(private comment, text removed)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.