简体   繁体   中英

VS2012- Compilation Error

I have developed a website in VS2010 with XP OS & it's working fine. 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.

Compiler Error Message: CS1647: An expression is too long or complex to compile

Source Error:

[No relevant source lines]

Source File: Line: 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

Microsoft (R) Visual C# Compiler version 4.0.30319.17929

for Microsoft (R) .NET Framework 4.5 Copyright (C) Microsoft Corporation. All rights reserved.

fatal error CS1647: An expression is too long or complex to compile

I need a help to complete this project in VS2012. Thanks in advance

Though I have not gone very deep. This may be Microsoft's memory management problem. 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

Work-around for C# CodeDom causing stack-overflow (CS1647) in csc.exe?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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