3月6日,微软.Net Micro Framework SDK 2.5 在MSDN上提供了下载链接(http://www.microsoft.com/downloads/details.aspx?familyid=EB0EF2A6-03E2-402C-89A4-A636BD0080C5&displaylang=en)。

安装最新版本的SDK之前,需要卸载掉原来的老版本。

安装后,我初步看了一下,好像大的改动不多,以前我编写的MF程序都可以正常运行,至于新功能嘛,其发布文件上如是说:

===============================================================================
What new in V2.5?
===============================================================================
The V2.5 release includes a optionally installed beta release of the assemblies
for the .NET managed Devices Profile for Web Services (DPWS) stack.
 
Samples demonstrating how to create or use: 
 - hosted services on devices
 - clients on the desktop and on devices
 - Discovery and Eventing

The .NET Micro Framework DPWS stack requires TCP/IP (Sockets) to function.
 
Device firmware must be developed with the V2.5 version
of the .NET Micro Framework Porting Kit in order to include
the .NET Micro Framework TCP/IP network stack.

===============================================================================
Issues
===============================================================================

-------------------------------------------------------------------------------
Issue:

Calling SocketConnect on a second set of sockets causes an exception in the
Emulator.

Resolution:
This is a known issue and will be fixed in a subsequent release.

-------------------------------------------------------------------------------
Issue:

If a DispatchTimer is declared on the stack of a method, and the method
returns, the DispatchTimer object may be garbage collected, even though
still enabled.

Resolution:
Declare DispatchTimer objects as globals.

-------------------------------------------------------------------------------
Issue:

The EnableDynamicDNS method of the
Microsoft.SPOT.Net.NetworkInformation.NetworkInterface class is not
implemented in the .NET Micro Framework TCP/IP stack, and will cause
an exception if called from a managed application.

Resolution:
Dynamic DNS address assignment is accomplished by enabling DHCP after
setting the static DNS address to 0.0.0.0.
 
For example, the following code will cause DHCP to assign the DNS addresses:
 
        // set DNS to 0 so DHCP DNS is used
        string[] dns = new string[] { "0.0.0.0", "0.0.0.0" };
        interfaces[0].EnableStaticDns(dns);
        // Enable DHCP
        interfaces[0].EnableDhcp();

When changing the network configuration in a managed application, it is
necessary to follow these guidelines:
   1) When changing the network configuration from DHCP-enabled to static,
      it is necessary to update the static DNS addresses
   2) When changing the network configuration from static to DHCP-enabled,
      it is necessary to change the two DNS addresses to 0.0.0.0 so that DHCP
      will update the DNS addresses. If you want to then replace the
      DNS addresses provided by DHCP, call EnableStaticDns with the two
      replacement addresses.
 
-------------------------------------------------------------------------------
Issue:

DHCP behavior on the .NET Micro Framework differs from DHCP on the desktop.
The .NET Micro Framework makes three attempts within 7 seconds to obtain
a DHCP lease at bootup. If the DHCP server is not found within this time frame,
the framework ceases searching for a DHCP server. This is the intended behavior
that application developers should be aware of since it differs from all
versions of the Windows operating system.

Because of the finite number of attempts to find the DHCP server, your device
may not obtain a DHCP lease if it is not properly connected to the network at
boot time.
 
Resolution:
Connect the device to the network before booting.

-------------------------------------------------------------------------------
Issue:

Deploying multiple times to the iMXS platform in Visual Studio can cause
deployment errors.

Resolution
A solution to this problem is being investigated for version 3.0. Currently,
there are multiple workarounds available. Here are a few.
1.  Press F5.
2.  Restart the device.
3.  Check to see if you have multiple devices with the same name.
4.  Restart Visual Studio.

-------------------------------------------------------------------------------
Issue:

There is a known issue when debugging a .NET Micro Framework V2.0 SP1
application running on the V2.5 firmware. This typically happens when loading
a resource.  This issue will be resolved in a subsequent release.

Resolution
Use the V2.5 SDK for all application development.

-------------------------------------------------------------------------------
Issue:

Dns.GetHostEntry with an empty input string ("") will return the local
IP address

Resolution:
This is by design and expected behavior.

-------------------------------------------------------------------------------
Issue:

After deploying an application from Visual Studio, the device is rebooted. In
some cases, DHCP can cause Visual Studio to time out while waiting for a
reconnect, preventing Visual Studio from debugging the device.

Resolution:
Add a registry key and value to increase the amount of time Visual Studio will
wait for a reconnect. The default of 5 seconds may be extended by creating the
following key and setting its timeout, retries, and override values:

HKCurrentUser\
  Software\
    Microsoft\
      .NetMicroFramework\
        NonVersionSpecific\
          Timing\
            AnyDevice

'timeout' (DWORD): milliseconds to wait before retrying
    (constrained to 50 < timeout < 60000)
'retries' (DWORD): count of retries to attempt
    (constrained to 1 < retries < 1000)
'override' (DWORD): if present and non-zero, ignore constraints above,
    and attempt to apply any valid DWORD values.

If any one of the values provided is out of bounds or malformed, it is
silently ignored and the default values remain in effect. However, the others
that are valid are still be applied.

The default values are as in v2 SP1: timeout = 100 for platforms that support
a soft reboot, 1000 otherwise; retries = 10.

-------------------------------------------------------------------------------
Issue:

Calling a NetworkInterface method that changes the IP address will invalidate
any bound sockets.

Resolution:
If running as a server, re-bind any open sockets after any IP address change.

进一步的详情,等我研究后在说。

.Net Micro Framework SDK 2.5 发布相关推荐

  1. Micro Framework 3 0模拟器改造

    Micro Framework 3.0的SDK去年十月份就已经发布了,本打算在该SDK发布之后就把我以前开发的,可支持GPIO.I2C.SPI测试的模拟器同步升级为3.0版,以便早点支持VS2008( ...

  2. 在.Net Micro Framework中显示汉字

    摘要:MF平台支持的字体是专有格式,扩展名为tinyfnt,需要用专门的转化工具才能把windows平台上的字体转换为tinyfnt字体.在.Net Micro Framework SDK中提供了一个 ...

  3. .Net Micro Framework导航总贴(新手必看)

    一.什么是.Net Micro Framework 它是一个.Net框架(微型框架),也是一个嵌入式系统OS,可以裸奔在ARM单片机上,也可以运行在别的嵌入式系统上.我们可以用VisualStudio ...

  4. .NET Micro Framework 用户程序升级说明

    1.前言 [STM32 .Net MF开发板学习-26]以前的文章示例都是采用VS2008开发的,所以示例要想在新的.NET Micro Framework V4.1开发板上运行,必须用VS2010转 ...

  5. NET Micro FrameworkのTimerクラス攻略

    NET Micro FrameworkのTimerクラス攻略 2011/11/8に公開された@IT Monoistの記事.「.NET Micro FrameworkデバイスとWindows Phone ...

  6. .NET Micro Framework常见问题问答

    问:.NET Micro Framework是什么? 答:请参见:http://blog.csdn.net/yefanqiu/article/details/5711770 官方网站:http://w ...

  7. .Net Micro Framework 快速入门

    一.简介 Microsoft .NET Micro Framework 2001年由微软研究院开始研发,并随后在其MSN Direct项目中使用该技术,2007年9月微软对外发布2.0,2008年10 ...

  8. .NET Micro Framework开发板用户简明手册(v3.0)

    说明:前段时间已经先后发布了<.Net Micro Framework开发板用户简明手册>和< .NET Micro Framework开发板用户简明手册(v2.0)>,分别对 ...

  9. 针对Micro Framework 3.0模拟器进行改造方法(浅谈)

    Micro Framework 3.0的SDK去年十月份就已经发布了,本打算在该SDK发布之后就把我以前开发的,可支持GPIO.I2C.SPI测试的模拟器同步升级为3.0版,以便早点支持VS2008( ...

最新文章

  1. 如何挖掘系统的业务价值
  2. JZOJ 5452. 【NOIP2017提高A组冲刺11.5】轰炸
  3. 前端学习(2631):git安装
  4. SQL 面试题及答案(一)
  5. java创建项目出现怎么办_maven创建项目后main/java missing的解决方法
  6. 微软去年安全业务收入150亿美元、新勒索软件以威联通设备为目标|1月27日全球网络安全热点
  7. java超市库存管理系统_java实现超市库存管理系统
  8. 精伦210兼容谷歌_【精伦IDR210身份证阅读器兼容火狐和谷歌浏览器】 - 太平洋安防网...
  9. 计算机毕业设计指导 教师 评语,毕业设计指导教师评语【集锦】
  10. 如何用excel制作xy曲线图_如何用excel制作表格?
  11. python实现whois查询_python3实现域名查询和whois查询
  12. 一键加速去不掉加锁的_三种方法让你的Service不被“一键加速”和系统杀掉
  13. 根据ID从FASTA文件中批量提取序列【Python】
  14. 77道Spring面试题以及参考答案(2021年最新版),java开发项目经理面试题
  15. LCCUP‘22秋季编程大赛(个人赛)总结
  16. IDA使用初探-1.启动IDA
  17. vue移动端深坑之微信浏览器相关优化方案
  18. 互联网电视无处不在的广告惹人烦,消费者转投传统电视怀抱
  19. 2011最牛高考作文:时间在流逝——上还是不上大学?
  20. 苹果笔记本-MAC系统 上安装使用Windows系列(win7\win8\win10)

热门文章

  1. js与C++交互及C++解析json
  2. TFS中的迭代(五)
  3. WinPE ISO制作
  4. superset各种数据库连接地址(持续更新中)
  5. intellij导入scala工程不识别scala语言
  6. 淘宝上的所有cuda书籍调研
  7. 奇异值与特征值什么时候相等-matlab代码验证
  8. Jacobian vector products(转载+翻译+代码+解读)
  9. ubuntu64位(x86)下科大讯飞sdk使用注意事项
  10. 大话数据结构02 :线性表链式存储 C++