The "GetSilverlightFramworkPath" task was not found. 以及类似情况的解决方案
来源:互联网 发布:直播nba的网络电视 编辑:程序博客网 时间:2024/06/05 17:24
曾在Visual studio2010上运行一个silverlight程序,出现下面异常。
The "GetSilverlightFramworkPath" task was not found. Check the following:1)The name of the task in the project file is the same as the name of the task class. 2.)The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.)The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Windows\Microsoft.NET"。
哎,出现这个异常后,我是进行了各种尝试,但到最后发现才是silverlight版本不匹配。
关于我的这个程序的问题解决过程:
1. 首先编译程序后出现上边异常描述以及在配置文件中出现的情况(矩形红线圈标记,有蓝色波浪线)。
2. 出现上边异常后,在工程(project)属性中选择的silverlight版本不匹配或不存在所需的silverlight版本(程序所需的是Silverlight5版本),如下图展示(此图中展示了无Silverlight5版本这一情况)。
3. 若在Target Silverlight Version下拉菜单中有Silverlight5版本,直接选中即可。若无,则从
http://www.microsoft.com/zh-CN/download/details.aspx?id=28358中下载。(最好下载个与当前语言环境匹配)
4. 下载并安装后,在浏览project工程的属性,将会发现Silverlight5版本,如下图。
然后选择Silverlight5,保存并编译,即可通过。
- The "GetSilverlightFramworkPath" task was not found. 以及类似情况的解决方案
- 初学j2me:The MIDlet suite was not found的解决方案
- android studio异常Error:A problem was found with the configuration of task ':app:zipalignDebug'的解决方案
- HttpServlet was not found on the Java 错误的解决办法
- 【SpringMVC】The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决方案
- configure: error: *** libmcrypt was not found解决方案
- 解决方案 错误:HttpServlet was not found on the Java build path
- the disk was not found(Altiris)
- HttpServlet was not found on the Java
- HttpServlet was not found on the Java
- HttpServlet was not found on the Java
- jsp页面报红,出现The suprclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方案
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的解决办法
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的解决方法
- the zipalign tool was not found in the sdk
- the zipalign tool was not found in the sdk
- the zipalign tool was not found in the sdk
- the zipalign tool was not found in the sdk
- Hdu 4391 Paint The Wall
- 一行字符,单词个数的统计
- OC将对象赋给对象,及对象用对象初始化的内存地址变化
- ThinkPad指纹验证在win7无法使用的解决方法
- Java Web JavaMail 邮件发送
- The "GetSilverlightFramworkPath" task was not found. 以及类似情况的解决方案
- sessionFactory.getCurrentSession()报错
- MySQL数据库优化总结
- MySQL 索引详解
- http状态代码含义表
- Linux 设备驱动 Edition 3
- PHP安全性漫谈
- net_extjs环境搭建
- PHP无限分类-PHP100代码篇