Unable to build project using VS 17.12.3: “DiscoverPrecompressedAssets” task failed unexpectedly #59625
Open
1 task done
Labels
area-blazor
Includes: Blazor, Razor Components
Is there an existing issue for this?
Describe the bug
I've found a similar issue, but the exception there isn't the same (
System.ArgumentException
there andSystem.InvalidOperationException
here) and that issue was closed without an answer, so I've decided to create a new one.Basically, I'm unable to build an existing project that uses
Blazor.BrowserExtension.Template
. It used to work fine with version 17.11.35219.272.Expected Behavior
Simply put, the project build should work without errors, as it used to do.
Steps To Reproduce
I've created a minimalistic project to showcase the issue. To reproduce the error, all that has to be done is to build the project.
Exceptions (if any)
Here's the error I get whenever I try to build the project using VS 17.12.3:
.NET Version
9.0.101
Anything else?
UPDATE: If I use SDK 8.0.404 and specify the version by adding a
global.json
to the solution folder, it actually works. Still no way to work with 9.0.101, though.The text was updated successfully, but these errors were encountered: