Lightswitch数据引用错误 [英] Lightswitch data reference error
问题描述
错误 1 类型'System.Data.Services.Client.DataServiceContext'是在未引用的程序集中定义的。您必须添加对程序集"Microsoft.Data.Services.Client.LightSwitch,Version = 2.0.40216.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35"的引用。 L:\Projects \mlsWriter \mlsServiceWriter \ mlsServiceWriter \\ \\Client\GeneratedArtifacts\ApplicationData.cs 19 26 客户
我有一个使用Lightswitch开发的简单应用程序。 所有文件都是在Lightswitch中创建的。 所有工作正常,直到今天下午,尝试构建时会弹出此错误。 该计划没有变更
。 我只是想做一个新的构建(重新构建)而且我得到了这个。
I have a simple application under development with Lightswitch. All of the files were being created from within Lightswitch. All was working fine until this afternoon, and this error popped up when attempting a build. There were no changes made to the program. I just wanted to do a fresh build ( re-build ) and I got this.
这在几周之前发生过一次,我从来没有找到答案。 我刚刚开始这个项目。
This happened once before several weeks ago and I never did find an answer. I just started the project all over.
我在这台电脑上使用SQL Express 2008.
I am using SQL Express 2008 on this computer.
1) 是什么原因导致这种情况发生?
1) Any ideas what causes this to occur ?
2) 关于简单解决方案的任何建议?
2) Any suggestions on an easy solution ?
我很感激输入。
Tim Stone MLS小企业服务
Tim Stone MLS Small Business Services
推荐答案
您是否尝试删除所有bin和obj目录,然后重建。
Have you tryed to delete all of the bin and obj directories and then rebuild.
这篇关于Lightswitch数据引用错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!