[Mono-dev] monowrap.cs patch

Lucas Meijer lucas at lucasmeijer.com
Sun Dec 27 07:50:46 EST 2009


Hey,

The attached patch makes monowrap work on windows machines whose user 
has a space in its name. It turns out MSBuild places its responsefile in 
the users' temp folder, which almost always will have a space in its 
name (C:\Users\Lucas Meijer\Temp).

The patch assumes that when it finds a "@" in the compiler arguments, 
everything that follows after that is going to be the responsefile, and 
inserts quotes so that the real mcs.exe won't trip up over them.

Bye, Lucas

PS Not sure if you need it for simple patches like this, but fwiw, it's 
released under MIT-X11 license.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: monowrap.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091227/518e1462/attachment.pl 


More information about the Mono-devel-list mailing list