Posts

Showing posts from January, 2009

gmcs in Visual Studio

Image
I was trying to learn a bit about MSBuild today and how things get built in Visual Studio, and I came across a cute little hack. I may be the last person in the world to discover it, but I still thought it was neat.

If you go to:
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CSharp.targets

around line 145, and delete these two lines:
ErrorReport="$(ErrorReport)"
FileAlignment="$(FileAlignment)"

and around line 166, change these two lines:
ToolExe="$(CscToolExe)"
ToolPath="$(CscToolPath)"

to this:
ToolExe="gmcs.bat"
ToolPath="C:\Program Files (x86)\Mono-2.2\bin"

(your ToolPath may vary)

when you build your C# projects in VS2k8, it will build them with Mono's C# compiler "gmcs" instead of Microsoft's "csc" compiler.



(If you try this, you should of course backup your Microsoft.CSharp.targets file.)

Lemons and Lemonade

Image
What started as criticism that Linuxers couldn't watch the official Inauguration stream due to the use of Silverlight:

- OSNews - Inauguration on Silverlight: Some Linux Fans Upset
- ZDNet - Some Linux backers upset about selection of Silverlight to stream Obama inauguration events

Ended not only with Linux users being able to watch the stream, but with Linux being advertised to the tens of millions (?) of people watching the official stream on the official website on their Windows and Mac PCs:



That is advertising money can't buy, even if we included Linux with every commemorative plate sold!

One small step for Silverlight, one giant leap for Linux!

Motivation

Image
How could anyone not be motivated after seeing such a dynamic and exciting book cover like this!