善待自己,珍惜今天,恩泽他人,享受生活

不放弃任何解决困难的机会,人的一生就是解决困难的过程。 当我们走完一生才能说没有问题要解决了。 面对工作、生活上的压力,面对来自家庭、朋友、同事、上司等的困惑。 要排除万难,否则我们就会被万难排除!

博客园 首页 新随笔 联系 订阅 管理
I run the "design a customer contorl for  mobile5" in  MSDN  ,but I get an unsuported error,I don't know how to reslove it ,pls. help me.

Scenario:
In page:
 
The main step is:
  • Create the run-time version of the Graph custom control.
  • Compile the design-time version of the Graph custom control.
  •  
    but when I test the custom contorl, It occur an unsupported Error.
     
    investigate the reason ,I find in the top of graph class.
    there is a sentence 
     #if NETCFDESIGNTIME
    [assembly: System.CF.Design.RuntimeAssemblyAttribute("GraphControl, Version=1.0.845.15148, Culture=neutral, PublicKeyToken=null")]
    #endif
     
    but it is not supported in latest NetCF2.0,only in vs2003's NetCF1.0,we can find the System.CF.Design.dll
    but in Vs2005 system.we can find below dll.
     
    I think maybe it reason which I can't run it in vs2005 mobile environment.
     
    but I don't know how to reslove it,Pls. help me
    posted on 2006-09-11 10:48  笨笨丁  阅读(694)  评论(1编辑  收藏  举报