我是一个使用内存泄漏分析器的初学者。我想运行jetbrains分析器,但是当我选择:“运行启动项目内存分析”项时,我在命令提示符窗口中看到此异常,并且dotMemory窗口显示分析会话已完成!我如何解决这个问题。请帮助我正确运行它...
Application startup exception: System.IO.DirectoryNotFoundException: D:\Projects\Source\PishroPostCloudLoyalty\pishropost-core\Yara.PedEx.Administration\bin\Debug\netcoreapp2.2\wwwroot\
at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
at Yara.PedEx.Administration.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, PedExDbContext dbContext) in D:\Projects\Source\PishroPostCloudLoyalty\pishropost-core\Yara.PedEx.Administration\Startup.cs:line 155
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
Unhandled Exception: System.IO.DirectoryNotFoundException: D:\Projects\Source\PishroPostCloudLoyalty\pishropost-core\Yara.PedEx.Administration\bin\Debug\netcoreapp2.2\wwwroot\
at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
at Yara.PedEx.Administration.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, PedExDbContext dbContext) in D:\Projects\Source\PishroPostCloudLoyalty\pishropost-core\Yara.PedEx.Administration\Startup.cs:line 155
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.StartAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String shutdownMessage)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
at Yara.PedEx.Administration.Program.Main(String[] args) in D:\Projects\Source\PishroPostCloudLoyalty\pishropost-core\Yara.PedEx.Administration\Program.cs:line 23发布于 2020-08-26 15:42:03
我找到了我的问题,我想和你分享它。我在debuge/bin路径中没有wwwroot文件夹,所以我将其复制到此路径,现在我可以使用dotmemory :)
https://stackoverflow.com/questions/63482721
复制相似问题