简体   繁体   English

VS2012-编译错误

[英]VS2012- Compilation Error

I have developed a website in VS2010 with XP OS & it's working fine. 我已经在VS2010中使用XP OS开发了一个网站,并且运行良好。 Now I upgraded my PC to Win-7 with VS2012, whenever I try to run the same website in VS2012 it's throwing following error. 现在,我将PC升级为VS2012的Win-7,每当我尝试在VS2012中运行相同的网站时,都会引发以下错误。

Compiler Error Message: CS1647: An expression is too long or complex to compile 编译器错误消息:CS1647:表达式太长或太复杂而无法编译

Source Error: 源错误:

[No relevant source lines] [没有相关的源代码行]

Source File: Line: 0 源文件:行:0

Show Detailed Compiler Output: 显示详细的编译器输出:

C:\\Program Files\\Common Files\\Microsoft Shared\\DevServer\\11.0> "C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\csc.exe" /t:library /utf8output /R:"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Web.WebPages.Deployment\\v4.0_2.0.0.0__31bf3856ad364e35\\System.Web.WebPages.Deployment.dll" ..................................etc C:\\ Program Files \\ Common Files \\ Microsoft Shared \\ DevServer \\ 11.0>“ C:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\ csc.exe” / t:library / utf8output / R:“ C:\\ Windows \\ Microsoft.Net \\ assembly \\ GAC_MSIL \\ System.Web.WebPages.Deployment \\ v4.0_2.0.0.0__31bf3856ad364e35 \\ System.Web.WebPages.Deployment.dll“ ...... ...................等等

Microsoft (R) Visual C# Compiler version 4.0.30319.17929 Microsoft(R)Visual C#编译器版本4.0.30319.17929

for Microsoft (R) .NET Framework 4.5 Copyright (C) Microsoft Corporation. for Microsoft(R).NET Framework 4.5版权所有(C)Microsoft Corporation。 All rights reserved. 版权所有。

fatal error CS1647: An expression is too long or complex to compile 致命错误CS1647:表达式太长或太复杂而无法编译

I need a help to complete this project in VS2012. 我需要帮助才能在VS2012中完成此项目。 Thanks in advance 提前致谢

Though I have not gone very deep. 虽然我还没有深入。 This may be Microsoft's memory management problem. 这可能是Microsoft的内存管理问题。 You can obtain the output by separating code blocks. 您可以通过分隔代码块来获取输出。 Refer to the following Getting "An expression is too long or complex to compile" when using c# target and 在使用c#target时,请参考以下获取“表达式太长或太复杂而无法编译”的内容。

Work-around for C# CodeDom causing stack-overflow (CS1647) in csc.exe? C#CodeDom的变通办法是在csc.exe中导致堆栈溢出(CS1647)?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM