-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
This issue has been moved from a ticket on Developer Community.
I'm working with .NET 8, and when I update to the latest version of Visual Studio, I get an error when running web projects.
This is the error:
Error inesperado en la tarea "DefineStaticWebAssetEndpoints".
System.AggregateException: Se han producido uno o varios errores. ---> System.InvalidOperationException: Last write time for 'C:\Disco D\Aplicaciones.net 8 new\SeguridadWeb\wwwroot\js\MetaDato\Jobs\Index.js' is not defined.
en Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate()
en Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item)
en Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.ParallelWorker.Process(Int32 i, ParallelLoopState _)
en Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.<>c.<Execute>b__16_2(Int32 i, ParallelLoopState loop, ParallelWorker state)
en System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.<ForWorker>b__1() en System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) en System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>) --- Fin del seguimiento de la pila de la excepción interna --- en System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) en System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) en System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action
1 body, Action2 bodyWithState, Func
4 bodyWithLocal, Func1 localInit, Action
1 localFinally)
en System.Threading.Tasks.Parallel.For[TLocal](Int32 fromInclusive, Int32 toExclusive, Func1 localInit, Func
4 body, Action1 localFinally) en Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.Execute() en Microsoft.Build.BackEnd.TaskExecutionHost.Execute() en Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() ---> (Nº de excepción interna 0) System.InvalidOperationException: Last write time for 'C:\Disco D\Aplicaciones\.net 8 new\SeguridadWeb\wwwroot\js\MetaDato\Jobs\Index.js' is not defined. en Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate() en Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item) en Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.ParallelWorker.Process(Int32 i, ParallelLoopState _) en Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.<>c.<Execute>b__16_2(Int32 i, ParallelLoopState loop, ParallelWorker state) en System.Threading.Tasks.Parallel.<>c__DisplayClass17_0
1.<ForWorker>b__1()
en System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
en System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<---
Original Comments
Feedback Bot on 5/23/2025, 09:22 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.