Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Razor VSCode Extension crashes when directory not found #5382

Closed
TanayParikh opened this issue Jun 10, 2020 · 2 comments · Fixed by #2008
Closed

Razor VSCode Extension crashes when directory not found #5382

TanayParikh opened this issue Jun 10, 2020 · 2 comments · Fixed by #2008
Assignees
Milestone

Comments

@TanayParikh
Copy link
Contributor

As part of the aspnetcore-tooling -> aspnetcore migration, a bunch of the TestApps were moved out of aspnetcore-tooling. Now, when opening the aspnetcore-tooling, the razor extension is looking for those files, and when it can't find them, it crashes.

image

[Info  - 11:52:15 AM] Connection to server got closed. Server will restart.
[Info  - 11:52:15 AM] Finding descriptor for initialize
[Info  - 11:52:15 AM] Starting: Routing Request (0) initialize
[Info  - 11:52:15 AM] Converting params for Request (0) initialize to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeParams
[Info  - 11:52:15 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj' to project system.
[Info  - 11:52:15 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithPackageAndP2PReference/AppWithPackageAndP2PReference.csproj' to project system.
[Info  - 11:52:15 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary/ClassLibrary.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary2/ClassLibrary2.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibraryMvc21/ClassLibraryMvc21.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentLibrary/ComponentLibrary.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/PackageLibraryDirectDependency/PackageLibraryDirectDependency.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/PackageLibraryTransitiveDependency/PackageLibraryTransitiveDependency.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11NetFx/SimpleMvc11NetFx.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc21/SimpleMvc21.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22/SimpleMvc22.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/SimpleMvc22NetFx.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj' to project system.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithPackageAndP2PReferenceAndRID/AppWithPackageAndP2PReferenceAndRID.csproj' to project system.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/Home/About.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/Home/Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/Shared/_ValidationScriptsPartial.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/Shared/Error.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/Home/Contact.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithP2PReference\AppWithP2PReference.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithP2PReference\AppWithP2PReference.csproj''s root namespace to 'AppWithP2PReference'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithPackageAndP2PReference\AppWithPackageAndP2PReference.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithPackageAndP2PReference\AppWithPackageAndP2PReference.csproj''s root namespace to 'AppWithPackageAndP2PReference'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary/Views/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary/ClassLibrary.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary/Views/Shared/_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary/ClassLibrary.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ClassLibrary\ClassLibrary.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ClassLibrary\ClassLibrary.csproj''s root namespace to 'ClassLibrary'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary2/Views/Shared/Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary2/ClassLibrary2.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary2/Views/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibrary2/ClassLibrary2.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ClassLibrary2\ClassLibrary2.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ClassLibrary2\ClassLibrary2.csproj''s root namespace to 'ClassLibrary2'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibraryMvc21/Areas/MyFeature/Pages/Page1.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ClassLibraryMvc21/ClassLibraryMvc21.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ClassLibraryMvc21\ClassLibraryMvc21.csproj' TagHelpers (17) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ClassLibraryMvc21\ClassLibraryMvc21.csproj' to Razor configuration 'MVC-2.1' with language version '2.1'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ClassLibraryMvc21\ClassLibraryMvc21.csproj''s root namespace to 'ClassLibraryMvc21'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/Shared/MainLayout.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/Pages/FetchData.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/Shared/NavMenu.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/Pages/_Imports.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/Pages/Counter.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/_Imports.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/App.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/Components/Pages/Index.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentApp/ComponentApp.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ComponentApp\ComponentApp.csproj' TagHelpers (179) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ComponentApp\ComponentApp.csproj''s root namespace to 'ComponentApp'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentLibrary/MyComponent.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentLibrary/ComponentLibrary.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentLibrary/GenericComponent.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/ComponentLibrary/ComponentLibrary.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ComponentLibrary\ComponentLibrary.csproj' TagHelpers (171) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ComponentLibrary\ComponentLibrary.csproj' to Razor configuration 'Default' with language version '3.0'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\ComponentLibrary\ComponentLibrary.csproj''s root namespace to 'ComponentLibrary'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/Views/Shared/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/Views/Home/View000.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/Views/Home/View001.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/Views/Shared/_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/Views/Home/View002.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/Views/Home/View003.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/Views/Shared/_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/LargeProject/LargeProject.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\LargeProject\LargeProject.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\LargeProject\LargeProject.csproj' to Razor configuration 'Default' with language version '3.0'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\LargeProject\LargeProject.csproj''s root namespace to 'LargeProject'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/TestComponent.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/Views/_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/Views/Shared/NavMenu.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/Views/Home/#FileName.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/Components/Counter.razor' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/Views/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/Views/Home/Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/MvcWithComponents/MvcWithComponents.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\MvcWithComponents\MvcWithComponents.csproj' TagHelpers (174) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\MvcWithComponents\MvcWithComponents.csproj''s root namespace to 'MvcWithComponents'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\PackageLibraryDirectDependency\PackageLibraryDirectDependency.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\PackageLibraryDirectDependency\PackageLibraryDirectDependency.csproj''s root namespace to 'PackageLibraryDirectDependency'.
[Info  - 11:52:16 AM] Added project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\RestoreTestProjects\RestoreTestProjects.csproj' to project system.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\PackageLibraryTransitiveDependency\PackageLibraryTransitiveDependency.csproj' TagHelpers (167) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\PackageLibraryTransitiveDependency\PackageLibraryTransitiveDependency.csproj''s root namespace to 'PackageLibraryTransitiveDependency'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc11\Views\_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc11\Views\_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc21\Views\_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc21/SimpleMvc21.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc21\Views\_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc21/SimpleMvc21.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc22\Views\_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22/SimpleMvc22.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc22\Views\_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22/SimpleMvc22.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc11\Views\Home\Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc11\Views\Shared\_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc21\Views\Home\About.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc21/SimpleMvc21.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc21\Views\Home\Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc21/SimpleMvc21.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc21\Views\Shared\_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc21/SimpleMvc21.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc21\Views\Shared\_ValidationScriptsPartial.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc21/SimpleMvc21.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc22\Views\Home\About.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22/SimpleMvc22.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc22\Views\Home\Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22/SimpleMvc22.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc22\Views\Shared\_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22/SimpleMvc22.csproj'.
[Info  - 11:52:16 AM] Adding document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps\SimpleMvc22\Views\Shared\_ValidationScriptsPartial.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22/SimpleMvc22.csproj'.
[Info  - 11:52:16 AM] Result was System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[MediatR.Pipeline.RequestPreProcessorBehavior`2+<Handle>d__2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], MediatR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=bb9a41a5e8aaa7e2]]
[Info  - 11:52:16 AM] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult
[Info  - 11:52:16 AM] Finished: Routing Request (0) initialize in 1164ms
[Info  - 11:52:16 AM] Finding descriptor for initialized
[Info  - 11:52:16 AM] Starting: Routing Notification initialized
[Info  - 11:52:16 AM] Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/Shared/_ValidationScriptsPartial.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/Shared/_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/Home/Contact.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/Home/Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/Home/About.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/Views/Shared/Error.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc/SimpleMvc.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc\SimpleMvc.csproj' TagHelpers (168) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc\SimpleMvc.csproj''s root namespace to 'SimpleMvc'.
[Info  - 11:52:16 AM] Moving old 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/Views/Home/Index.cshtml' from the 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj' project to 'C:\Users\tanay\AppData\Local\Temp\4de9fe661ff34a7783316bc7fa3c3072\__MISC_RAZOR_PROJECT__' project.
[Info  - 11:52:16 AM] Moving old 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/Views/Shared/_Layout.cshtml' from the 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj' project to 'C:\Users\tanay\AppData\Local\Temp\4de9fe661ff34a7783316bc7fa3c3072\__MISC_RAZOR_PROJECT__' project.
[Info  - 11:52:16 AM] Moving old 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/Views/_ViewImports.cshtml' from the 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj' project to 'C:\Users\tanay\AppData\Local\Temp\4de9fe661ff34a7783316bc7fa3c3072\__MISC_RAZOR_PROJECT__' project.
[Info  - 11:52:16 AM] Moving old 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/Views/_ViewStart.cshtml' from the 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc11/SimpleMvc11.csproj' project to 'C:\Users\tanay\AppData\Local\Temp\4de9fe661ff34a7783316bc7fa3c3072\__MISC_RAZOR_PROJECT__' project.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc11\SimpleMvc11.csproj' TagHelpers (16) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc11\SimpleMvc11.csproj' to Razor configuration 'MVC-1.1' with language version '1.1'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc11NetFx\SimpleMvc11NetFx.csproj' TagHelpers (16) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc11NetFx\SimpleMvc11NetFx.csproj' to Razor configuration 'MVC-1.1' with language version '1.1'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc21\SimpleMvc21.csproj' TagHelpers (19) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc21\SimpleMvc21.csproj' to Razor configuration 'MVC-2.1' with language version '2.1'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc21\SimpleMvc21.csproj''s root namespace to 'SimpleMvc21'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc22\SimpleMvc22.csproj' TagHelpers (20) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc22\SimpleMvc22.csproj' to Razor configuration 'MVC-2.1' with language version '2.1'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc22\SimpleMvc22.csproj''s root namespace to 'SimpleMvc22'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/Views/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/SimpleMvc22NetFx.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/Views/Home/Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/SimpleMvc22NetFx.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/Views/Shared/_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/SimpleMvc22NetFx.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/Views/_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimpleMvc22NetFx/SimpleMvc22NetFx.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc22NetFx\SimpleMvc22NetFx.csproj' TagHelpers (18) and C# Language Version (CSharp7_3).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc22NetFx\SimpleMvc22NetFx.csproj' to Razor configuration 'MVC-2.1' with language version '2.1'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimpleMvc22NetFx\SimpleMvc22NetFx.csproj''s root namespace to 'SimpleMvc22NetFx'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Pages/Contact.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Pages/Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Pages/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Pages/_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Areas/Products/Pages/_ViewImports.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Pages/_Layout.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Areas/Products/Pages/Index.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Pages/About.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/Areas/Products/Pages/_ViewStart.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/SimplePages/SimplePages.csproj'.
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimplePages\SimplePages.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\SimplePages\SimplePages.csproj''s root namespace to 'SimplePages'.
[Info  - 11:52:16 AM] Finished: Routing Notification initialized in 125ms
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithPackageAndP2PReferenceAndRID\AppWithPackageAndP2PReferenceAndRID.csproj' TagHelpers (167) and C# Language Version (CSharp8).
[Info  - 11:52:16 AM] Updating project 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithPackageAndP2PReferenceAndRID\AppWithPackageAndP2PReferenceAndRID.csproj''s root namespace to 'AppWithPackageAndP2PReferenceAndRID'.
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithP2PReference\Views\_ViewImports.cshtml'.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Microsoft.AspNetCore.Razor.LanguageServer.Common.DefaultRemoteTextLoaderFactory.RemoteTextLoader.LoadTextAndVersionAsync(Workspace workspace, DocumentId documentId, CancellationToken cancellationToken) in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.AspNetCore.Razor.LanguageServer.Common\DefaultRemoteTextLoaderFactory.cs:line 62
   at Microsoft.CodeAnalysis.Razor.ProjectSystem.DefaultProjectSnapshotManager.<>c__DisplayClass17_0.<DocumentAdded>b__0() in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\ProjectSystem\DefaultProjectSnapshotManager.cs:line 152
   at Microsoft.CodeAnalysis.Razor.ProjectSystem.DocumentState.GetTextVersionAsync() in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\ProjectSystem\DocumentState.cs:line 127
   at Microsoft.CodeAnalysis.Razor.ProjectSystem.DocumentState.ComputedStateTracker.GetImportsAsync(ProjectSnapshot project, DocumentSnapshot document) in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\ProjectSystem\DocumentState.cs:line 485
   at Microsoft.CodeAnalysis.Razor.ProjectSystem.DocumentState.ComputedStateTracker.GetGeneratedOutputAndVersionCoreAsync(DefaultProjectSnapshot project, DocumentSnapshot document) in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\ProjectSystem\DocumentState.cs:line 351
   at Microsoft.CodeAnalysis.Razor.ProjectSystem.DefaultDocumentSnapshot.GetGeneratedOutputAsync() in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\ProjectSystem\DefaultDocumentSnapshot.cs:line 61
   at Microsoft.AspNetCore.Razor.LanguageServer.RazorDiagnosticsPublisher.PublishDiagnosticsAsync(DocumentSnapshot document) in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.AspNetCore.Razor.LanguageServer\RazorDiagnosticsPublisher.cs:line 161
   at Microsoft.AspNetCore.Razor.LanguageServer.RazorDiagnosticsPublisher.WorkTimer_Tick(Object state) in C:\Users\tanay\dev\aspnetcore-tooling\src\Razor\src\Microsoft.AspNetCore.Razor.LanguageServer\RazorDiagnosticsPublisher.cs:line 204
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
[Error - 11:52:18 AM] Connection to server got closed. Server will not be restarted.
@TanayParikh TanayParikh self-assigned this Jun 10, 2020
@ajaybhargavb
Copy link
Contributor

[Info - 11:52:16 AM] Adding new document 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/Views/Home/About.cshtml' to project 'c:/Users/tanay/dev/aspnetcore-tooling/src/Razor/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj'.

How is this happening? This doesn't really exist. @TanayParikh can you verify if you face the same issue after a git clean -xdf? I suspect you might have some stale untracked files.

@TanayParikh
Copy link
Contributor Author

TanayParikh commented Jun 10, 2020

How is this happening? This doesn't really exist. @TanayParikh can you verify if you face the same issue after a git clean -xdf? I suspect you might have some stale untracked files.

Yes, there are some stale files, and it crashes when c:\Users\tanay\dev\aspnetcore-tooling\src\Razor\test\testapps\AppWithP2PReference\Views\_ViewImports.cshtml' isn't found.

image

I can clean it out, but felt this may be better served with a safer failure than an extension crash. Ideally https://github.com/dotnet/aspnetcore-tooling/blob/master/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer.Common/DefaultRemoteTextLoaderFactory.cs#L75 should be handling the DirectoryNotFoundException as well.

TanayParikh referenced this issue Jun 10, 2020
Essentially the same thing as our `FileNotFoundException` handling, however here we also have to fabricate the directory tree.

Fixes https://github.com/dotnet/aspnetcore/issues/22795
@ghost ghost locked as resolved and limited conversation to collaborators Jul 11, 2020
@TanayParikh TanayParikh changed the title Razor VSCode Extension crashes when files not found Razor VSCode Extension crashes when directory not found Jul 23, 2020
@ghost ghost unlocked this conversation Oct 9, 2021
@allisonchou allisonchou transferred this issue from dotnet/aspnetcore Oct 9, 2021
@allisonchou allisonchou added this to the 16.7-Preview4 milestone Oct 9, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants