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

查看:343
本文介绍了致命错误cs1647:表达式太长或太复杂而无法编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站中使用了Resume Builder的用户控件。

这个用户控件在它的.ascx页面中有超过'7000'的行,因为使用了很多javascript。

它在localhost中工作正常。

当我把它上传到测试服务器时,我得到一个错误,因为'致命错误cs1647:表达式太长或者很难编译'。

我无法减小这个大尺寸,因为这个用户控件有很大的功能。





问题是什么以及如何避免这种情况。

In my website used an 'user control' for Resume Builder.
This user control have more than '7000' line in it's .ascx page because of many javascript is used.
It is working fine in localhost.
I got an error as 'fatal error cs1647: an expression is too long or complex to compile' when I uploaded this to test server.
I can't reduce this large size because of this user control have a big functionality .


What is the issue and How can avoid this.

推荐答案

错误是非常自我解释的,表达式太长或太复杂而无法编译。编译器有一些限制,比如那里是编译器将用尽堆栈空间以继续解析的深度。尝试在几个语句中断开连接。据我所知,没有任何具体的解决方案。



问候......:笑:
The error is pretty self explanatory,an expression is too long or complex to compile.Compiler have some limitations like there is a depth at which the compiler will run out of stack space to continue parsing.Try breaking the concatenation across a few statements. As per as i know theres not any concrete solution to this.

Regards.. :laugh:


这篇关于致命错误cs1647:表达式太长或太复杂而无法编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆