Fermium-co / Fermium-co/ToDoLine
Could not find wwwroot Folder
- 主要语言
- C#
- 星标
- 11
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
描述
When I Run Web Project Occurs this Exception :
System.IO.DirectoryNotFoundException: Could not find a part of the path '...\\ToDoLine\\ToDoLine\\wwwroot\\index.html'.\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)\r\n at System.IO.File.AsyncStreamReader(String path, Encoding encoding)\r\n at System.IO.File.InternalReadAllTextAsync(String path, Encoding encoding, CancellationToken cancellationToken)\r\n at Bit.Owin.Middlewares.IndexPageMiddleware.Invoke(HttpContext context)\r\n at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)\r\n at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)\r\n at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.Owin.Mapping.MapMiddleware.Invoke(IDictionary`2 environment) in /_/src/Microsoft.Owin/Mapping/MapMiddleware.cs:line 72\r\n at Microsoft.AspNetCore.Owin.WebSocketAcceptAdapter.<>c__DisplayClass6_0.<b__0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.Invoke(IOwinContext context) in /_/src/Microsoft.Owin.Security/Infrastructure/AuthenticationMiddleware.cs:line 30\r\n at Microsoft.AspNetCore.Owin.WebSocketAcceptAdapter.<>c__DisplayClass6_0.<b__0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n at Bit.Owin.Middlewares.DisposePipelineAwareDisposablesMiddleware.Invoke(HttpContext httpContext)\r\n at Bit.Owin.Middlewares.AspNetCoreExceptionHandlerMiddleware.Invoke(HttpContext context)",
"ExceptionAdditionalMessage": "Request-Execution-Exception",
"ExceptionType": "System.IO.DirectoryNotFoundException",
"ExceptionTypeAssemblyQualifiedName": "System.IO.DirectoryNotFoundException, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。