Hello,
I just tried to
migrate to newest nightly of NAnt and found (again) that I have to
specify some custom options to csc.exe when compiling mine
projects:
<solution
configuration="Release" outputdir="${output.dir}"
includevsfolders="false">
<projects>
<include name="*.csproj"/>
</projects>
<compilerargs>
<arg value="/codepage:1250"/>
<arg value="/nowarn:0612"/>
<arg value="/nowarn:0618"/>
<arg value="/nowarn:1591"/>
<arg value="/warnaserror"/>
</compilerargs>
<projects>
<include name="*.csproj"/>
</projects>
<compilerargs>
<arg value="/codepage:1250"/>
<arg value="/nowarn:0612"/>
<arg value="/nowarn:0618"/>
<arg value="/nowarn:1591"/>
<arg value="/warnaserror"/>
</compilerargs>
</solution>
I remeber there was serious complains
against this patch of mine. Maily because arguments are compiler and language
specific. What about to restructure it somehow to be acceptable by community?
E.g.
<compilerargs>
<csc>
<arg value="/codepage:1250"/>
<arg value="/codepage:1250"/>
</csc>
</vbc>
<arg value="/whatever:option"/>
</vbc>
</compilerargs>
Martin