随笔 - 631  文章 - 75  评论 - 186  阅读 - 143万

Error-MVC: 未能找到路径“D:\\DsWeb\DS.Web\dist\bin\roslyn\csc.exe”的一部分。

ylbtech-Error-MVC: 未能找到路径“D:\\DsWeb\DS.Web\dist\bin\roslyn\csc.exe”的一部分。

 

1,

“/”应用程序中的服务器错误。


未能找到路径“D:\work-集客\DsWebs\DsWeb\DS.Web\dist\bin\roslyn\csc.exe”的一部分。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 

异常详细信息: System.IO.DirectoryNotFoundException: 未能找到路径“D:\work-集客\DsWebs\DsWeb\DS.Web\dist\bin\roslyn\csc.exe”的一部分。

源错误: 

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪: 

[DirectoryNotFoundException: 未能找到路径“D:\work-集客\DsWebs\DsWeb\DS.Web\dist\bin\roslyn\csc.exe”的一部分。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +273
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1132
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +133
   Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.get_CompilerName() +127
   Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.FromFileBatch(CompilerParameters options, String[] fileNames) +832
   Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames) +189
   System.Web.Compilation.AssemblyBuilder.Compile() +1896
   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +306
   System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +331
   System.Web.Compilation.BuildManager.CompileGlobalAsax() +49
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +331

[HttpException (0x80004005): 未能找到路径“D:\work-集客\DsWebs\DsWeb\DS.Web\dist\bin\roslyn\csc.exe”的一部分。]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +73
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +646
   System.Web.Compilation.BuildManager.CallAppInitializeMethod() +36
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +893

[HttpException (0x80004005): 未能找到路径“D:\work-集客\DsWebs\DsWeb\DS.Web\dist\bin\roslyn\csc.exe”的一部分。]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.2117.0
2,
 
 
 
 
 
 
 
 
 
 
 
 
warn 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
posted on   ylbtech  阅读(2686)  评论(1编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 字符编码:从基础到乱码解决
历史上的今天:
2015-07-09 sql server 2008 评估期已过期如何升级
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示