环境:Silverlight+RIA +win7 SP1+vs2012 +vs2015(安装了2012以及2015)

报错:在项目.g.cs 自动文件中会提示说MatchTimeoutInMilliseconds没有声明定义错误

在没有安装vs2015之前可以,没有错误,但是安装vs2015后就开始报上述错误,查询了万能的网络。

https://connect.microsoft.com/VisualStudio/feedback/details/1988437/generated-code-for-silverlight-references-matchtimeoutinmilliseconds-which-does-not-exist

 Matt [MSFT] 在 2016/3/31 於 11:56 公佈
The fix is included in .net framework 4.6.2 and the preview is available now which you can download from
https://www.microsoft.com/en-us/download/details.aspx?id=51622.

解决:

1、安装.NET 4.6.2即可

(下载地址)https://www.microsoft.com/zh-CN/download/details.aspx?id=51622

2、卸载vs2015的4.6.1也可以

posted on 2016-06-01 20:12  FEX-x  阅读(534)  评论(0编辑  收藏  举报