Blazor.Printing icon indicating copy to clipboard operation
Blazor.Printing copied to clipboard

.NET 9 error

Open Light407 opened this issue 1 year ago • 3 comments

I updated VS and .NET 9 updated as well. Getting this error:

C:\Program Files\dotnet\sdk\9.0.100-rc.1.24452.12\Sdks\Microsoft.NET.Sdk.StaticWebAssets\targets\Microsoft.NET.Sdk.StaticWebAssets.Compression.targets(241,5): error MSB4018: The "ApplyCompressionNegotiation" task failed unexpectedly. System.InvalidOperationException: Endpoints not found for related asset: C:\git\MyApp\MyApp\Client\ClientV 1\bin\Debug\net8.0\wwwroot\_framework\Append.Blazor.Printing.wasm at Microsoft.AspNetCore.StaticWebAssets.Tasks.ApplyCompressionNegotiation.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLogging Context taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)

Light407 avatar Sep 22 '24 19:09 Light407

Peter,

Thanks for reaching out. I just made 2 sample projects (WASM Standalone and the normal Blazor Template in .NET 9). Both of them are working with the library so I think it’s another problem.

Attached you can find both projects.

Archive.zip

vertonghenb avatar Sep 23 '24 11:09 vertonghenb

Thanks for the reply. Really not sure what that error is, any guess?

Light407 avatar Sep 30 '24 14:09 Light407