1
刪除了一個bower軟件包(morris)並嘗試重新加載我的MVC Core應用程序時,出現錯誤,應用程序無法完全重新加載,所有我可以看到的都是DNX參考和Dependencies
。我試過恢復軟件包,但沒有幫助。無法重新加載Visual Studio 2015中的Asp.Net Core項目
我正在運行RC1。
工作室指引我VsProjectFault_9481d3e1-ac32-4ffe-bee5-00ea5d3c38b8.failure.txt
文件包含以下信息:
Recoverable
System.Exception: The following error occurred during discovery of project files on disk. Access to the path 'C:\Redacted\App\bower_components\morrisjs\spec\viz\exemplary' is denied..
at Microsoft.VisualStudio.Web.ProjectSystem.ProjectTree.SourceItemsInMemoryProject.<InitializeFromDiskAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Web.ProjectSystem.ProjectTree.SourceItemsInMemoryProject.<Creator>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.UnconfiguredProjectImpl.AutoLoadMethodStateMachine.<<StartExecution>b__6_0>d.MoveNext()
什麼我需要做恢復應用程序?
所有文件仍然存在於文件系統中,只是未加載項目。
你有什麼亭子任務保存文件鎖定? –
不,我不...... – NikolaiDante