升级现有项目后,在SL中加载屏幕会将应用程序空白 [英] After Upgrading an Existing Project, loading a screen in SL turns the App blank

查看:66
本文介绍了升级现有项目后,在SL中加载屏幕会将应用程序空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

各位大家好,


首先,我想说我发现LS太神奇了! HTML客户端让它变得更好!


但遗憾的是,升级现有项目后我遇到了问题。


该项目之前已从VS 2010升级到VS 2012,现在我尝试升级到HTML预览2.升级 - 报告没有给我任何错误。当我运行我的SL应用程序时它启动正常。但是如果我打开一个特定的屏幕(一个SearchDataScreen)它会启动
加载,一段时间后整个屏幕变成空白。甚至导航都不再可见。


我试图调试这个,将我的自定义代码从屏幕上剥离......没有区别。每个包含用户代码的事件(空或非)都会完美运行,屏幕会继续加载然后崩溃。


是否有人遇到类似问题?知道是什么原因引起的吗?如果你想让vs解决方案仔细看看,请告诉我。


干杯


Simon

解决方案

Simon,


很遗憾听到您遇到此问题。 


您是否还可以确认您可以使用简单的表格和屏幕创建新的(基本)VS2012 LS应用程序(确认F5按预期工作)。 然后通过添加客户端升级它...并再次确认SL客户端应用程序仍然有效? 只需要
来确保基础知识在这里工作....


您是否还在两个默认的LightSwitch扩展程序之外的应用程序中使用任何其他扩展程序? 如果是,您是否可以针对此应用程序停用它们并尝试重新运行仅依赖于两个默认的LS扩展程序? 


同样在运行时,您运行的是SL Desktop还是SL Web?您可以将其切换到其他SL应用类型(网络或桌面)并在那里再试一次吗?




Hello everybody,

first of all I want to say I find LS amazing! And the HTML Client makes it even better!

But unfortunately I'm running into a problem after upgrading an existing project of mine.

THe project was previously upgraded from VS 2010 to VS 2012 and now I tried the upgrade to HTML Preview 2. THe Upgrade-Report gives me no errors. And when I run my SL App it starts up fine. But if I open one specific screen (a SearchDataScreen) it starts loading and after a while the whole screen turns blank. Not even the navigation is visible any more.

I tried to debug this, stripping my custom code out of the screen... No difference. Every event that contains user code (empty or not) runs perfectly and the screen continues on loading and then crashes.

Is anyone having similar problems? Any idea what causes this? If you'd like the vs solution to take a closer look let me know.

Cheers

Simon

解决方案

Simon,

sorry to hear that you encountered this issue. 

Can you also confirm that you can create a new (basic) VS2012 LS Application with a simple table and screen (confirm F5 works as expected).  Then upgrade it by Adding Client...and again confirming that the SL Client app still works?  Just want to make sure the basics are working here....

Also are you using any additional extensions in the application beyond the two default LightSwitch extensions?  If yes, can you disable them for this application and try rerunning relying only on the two default LS extensions? 

Also when running, is it the SL Desktop or the SL Web that you are running? Can you switch it to the other SL app type (Web or Desktop) and try again there too?


这篇关于升级现有项目后,在SL中加载屏幕会将应用程序空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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