Lightswitch Microsoft.LightSwitch.演示文稿 [英] Lightswitch Microsoft.LightSwitch.Presentation

查看:72
本文介绍了Lightswitch Microsoft.LightSwitch.演示文稿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我遇到了另一个问题-Lightswitch似乎只有问题.我们开始:

I ran into another problem - seems like there is nothing but problems with Lightswitch. Here we go:

我创建了一个Silverlight类库项目,并添加了Silverlight用户控件(可以正常运行).我添加了 Microsoft.LightSwitch和 Microsoft.LightSwitch.Client 至我的项目参考(正常运行).我收到错误消息名称空间名称Lightswitch在名称空间Microsoft中不存在,您是否缺少程序集"?当我添加<使用Microsoft . LightSwitch .演示文稿;> ;; 当我删除此代码时,我得到引用< IContentItem>的代码错误.任何帮助将不胜感激.

I created a Silverlight Class Library project and added a Silverlight User Control (works fine). I added Microsoft.LightSwitch and Microsoft.LightSwitch.Client to my project reference (works fine). I get error "namespace name Lightswitch does not exist in the namespace Microsoft are you missing an assembly" when I add <using Microsoft.LightSwitch.Presentation;>; when I remove this code than I get error on my code that reference <IContentItem>. Any help will be very appreciated. 

我的代码:

克里奥·亚伯拉罕

推荐答案

您确定对Microsoft.LightSwitch.Client.dll程序集的程序集引用正确添加了吗?如果未正确引用此程序集引用,则在引用"列表中可能会有一个警告图标.

Are you certain that the assembly reference to the Microsoft.LightSwitch.Client.dll assembly as added correctly? There may be a warning icon in the References list for this assembly reference if it is not referenced correctly.

此外,您确定您使用的是正确版本的Silverlight.如果您创建了Silverlight 4类库项目,并尝试从Visual Studio 2012或更高版本引用LightSwitch程序集,则构建该项目 您无法从框架的将来版本中引用程序集这一事实将导致错误.

Additionally, are you certain that you are using the correct version of Silverlight. If you created a Silverlight 4 Class Library Project and are trying to reference LightSwitch assemblies from Visual Studio 2012 or later, then building the project will error on the fact that you cannot reference assemblies from future versions of a framework.

构建项目时,错误列表中有哪些错误?

When you build the project, what are the errors in the error list?


这篇关于Lightswitch Microsoft.LightSwitch.演示文稿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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