Compiler Error Message: CS1009: Unrecognized escape sequence

后端 未结 4 1125
名媛妹妹
名媛妹妹 2021-01-28 12:46
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your          


        
4条回答
  •  一向
    一向 (楼主)
    2021-01-28 13:08

    I got the same thing, it's auto code, my project is ASP.net with MVC 4, Razor. These code is not keyed in by us. Only getting this error on a new deployment, other deployments of the same code work fine,

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1009: Unrecognized escape sequence
    
    Source Error:
    
    
    Line 42:         
    Line 43:         public override void Execute() {
    Line 44: WriteLiteral("\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" +
    Line 45: "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" +
    Line 46: "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" +
    
    Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e22c2559\92c7e946\App_Web__viewstart.cshtml.cdcab7d2.gtokpxja.0.cs    Line: 44 
    

提交回复
热议问题