[dotnet-sdk-9.0.100-preview.5.24277.8] Fail to publish react project with error message "The ResolvedCompressedAssessts" task failed unexpectedly. #56288
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
feature-static-web-assets
Milestone
Is there an existing issue for this?
Describe the bug
When retarget the 3rd party application to net9.0 with the latest .NET 9 build, it failed to build with error
MSB4018: The "ResolveCompressedAssets" task failed unexpectedly
.Application Name: QuickApp,WorldExplorer
OS: Windows10 21h2
CPU: X64
.NET Build Number: dotnet-sdk-9.0.100-preview.5.24277.8
App Source or App Installer checking at:
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2088415
Github Link:
https://github.com/VladislavAntonyuk/WorldExplorer
https://github.com/emonney/QuickApp
Verify Scenarios:
1.Windows 10 21H2 AMD64 + dotnet-sdk-8.0.301: Pass
2.Windows10 21h2 x64 + dotnet-sdk-9.0.100-preview.5.24277.8: Fail
Expected Behavior
publish successfully.
Steps To Reproduce
Minimal Repro steps (Demo attached):
ReactAppDemo.zip
1.Create a .net8.0 React and ASP.NET Core project.
2.Retarget the app to .net9.0.
<TargetFramework>net9.0</TargetFramework>
3.Publish the app with dotnet-sdk-9.0.100-preview.5.24277.8.
Exceptions (if any)
Show error MSB4018 :
.NET Version
dotnet-sdk-9.0.100-preview.5.24277.8
Anything else?
Dotnet Info:
@dotnet-actwx-bot @dotnet/compat
The text was updated successfully, but these errors were encountered: