zoukankan      html  css  js  c++  java
  • Silverlight 工程无法打开

    一、问题1

    用Blend处理了一下silverlight工程,保存后,新电脑环境上没有Blend程序,打开程序报错

    无法读取项目文件“SLProject.csproj”。 C:\Users\xiaoxiangfeizi\Desktop\slMessage\SL1201\SLProject.csproj(128,3): 未找到导入的项目“C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets”。请确认 声明中的路径正确,且磁盘上存在该文件。

    找到该工程的.csproj文件,用记事本打开后,找到

    <Import Project="$(MSBuildExtensionsPath)/Microsoft/Expression/Blend/3.0/Silverlight

    /Microsoft.Expression.Blend.Silverlight.targets" />

    因为机器上没有Blend,所以就报错了。我把它删掉后重新打开工程,就没有可以了。

    如果在别的环境中使用,而无法打开工程。就打开该文件找到相应的Import语句,把它删掉(即删掉有问题的语句)。

    二、问题2

    silverlight程序编译报错

    silverlight The target "Build" does not exist in the project.

    找到该工程的.csproj文件,用记事本打开后,找到

    <Target Name="BeforeBuild">
      </Target>

    在此节点的前面

    添加

    <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" />

  • 相关阅读:
    徒手画个disk不容易啊。。。
    fast powf
    SSE sqrt还是比C math库的sqrtf快了不少
    Mongoose也是个大坑
    A tiny program to benchmark image transpose algorithms
    On extracting ops from LLVM backend
    Into concurrent LRU caching once again
    性能大坑
    多项式在线拟合神器
    Spark 1.6.1源码编译
  • 原文地址:https://www.cnblogs.com/z_lb/p/2975384.html
Copyright © 2011-2022 走看看