惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

博客园 - 维生素C.NET

[ie8特性1] 6个conection per domain的设计 asp.net 3.5 extensions readme Vista上无法使用WCF的处理方法 SQL Server 2005 Management Studio假死的情况 Internal .Net Framework Data Provider error 6 查找含有特定字符的存储过程 firefox, IE6, IE7在CSS hack上的入口点 不知道多少人存在这个误解: Google Reader/Google Notebook使用以前的英文界面的办法 IronRuby博客中文版-- IronRuby: a promising start IronRuby的下载 http的基础知识帮助减少代码量和复杂度的一个Demo - 维生素C.NET - 博客园 关于SQL Server的两个细节 为LINQ提速的i4o和增强功能的SLINQ 在Longhorn Server上无法安装SQL Server 2008 (Katmai) 设置Longhorn Server中的图片缩略图显示 关于控件部分的看法--读Programming ASP.NET中文版 分享一本入门级好书:Programming ASP.NET中文版 555,又丢了一辆自行车
编译IronRuby项目和修复其中的一些bugs
维生素C.NET · 2007-08-05 · via 博客园 - 维生素C.NET

编译:

1.下载了源代码,并且安装了.net framework

2.因为.net framework安装时的bug,所以一定要检查一下%frameworkdir%,%frameworkversion%这两个环境变量的位置,我直接修改的build.cmd文件,使用了msbuild的绝对位置:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe /p:Configuration=Release /t:Rebuild IronRuby.sln

3.保存Build.cmd,在console下运行它,不出意外的话将成功编译。

测试一个bug:

1 a="fanweixiao"
2 "fanweixiao"
3 b=" 维生素C.net"
4 " 维生素C.net"
5 c=a+b
6 "fanweixiao 维生素C.net"
7 a
8 "fanweixiao 维生素C.net"

大家可以看到变量a也变成a+b了

修复这个bug

找到Ruby\Builtins\MutableStrings.cs的Concatenate(MutableString self, MutableString other)方法:

很明显self.Append(other)会导致self自己发生改变,那么我们改写这个方法:

再次编译运行rbx.exe,已经被修复了。

其他:

正如大家看到的一样,这只是一个Pre-Alpha版本,有许许多多的细节还不完善,不过如果想将其尽快应用上,有些文章能派上用场:

FePy对math方面的修复和扩展

WPF Sample in IronRuby talking via C# to Wesabe

IronRuby with .Net 3.x and Windows Presentation Foundation (WPF)