Skip to content

Error with the latest Visual Studio update #63227

@vsfeedback

Description

@vsfeedback

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.&lt;ForWorker&gt;b__1() en System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) en System.Threading.Tasks.Task.&lt;&gt;c__DisplayClass176_0.&lt;ExecuteSelfReplicating&gt;b__0(Object &lt;p0&gt;) --- 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, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally)
en System.Threading.Tasks.Parallel.For[TLocal](Int32 fromInclusive, Int32 toExclusive, Func1 localInit, Func4 body, Action1 localFinally) en Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.Execute() en Microsoft.Build.BackEnd.TaskExecutionHost.Execute() en Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__26.MoveNext() ---&gt; (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.&lt;&gt;c.&lt;Execute&gt;b__16_2(Int32 i, ParallelLoopState loop, ParallelWorker state) en System.Threading.Tasks.Parallel.&lt;&gt;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>)<---


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Author: Migration Bot 🤖The issue was created by a issue mover bot. The author may not be the actual author.needs-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions