|
2941 | 2941 |
|
2942 | 2942 | <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" /> |
2943 | 2943 | <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" /> |
| 2944 | + <property name="csc.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/4.5/mcs.exe')}" /> |
2944 | 2945 |
|
2945 | 2946 | <target name="configure-from-pkg-config"> |
2946 | 2947 | <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" /> |
|
2979 | 2980 | <attribute name="managed">true</attribute> |
2980 | 2981 | </task> |
2981 | 2982 | <task name="csc"> |
2982 | | - <attribute name="exename">gmcs</attribute> |
| 2983 | + <attribute name="exename">${csc.tool}</attribute> |
2983 | 2984 | <attribute name="managed">true</attribute> |
2984 | 2985 | <attribute name="langversion">linq</attribute> |
2985 | 2986 | <attribute name="supportspackagereferences">true</attribute> |
|
3096 | 3097 |
|
3097 | 3098 | <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/4.0')}" /> |
3098 | 3099 | <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" /> |
| 3100 | + <property name="csc.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/4.5/mcs.exe')}" /> |
3099 | 3101 |
|
3100 | 3102 | <target name="configure-from-pkg-config"> |
3101 | 3103 | <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" /> |
|
3134 | 3136 | <attribute name="managed">true</attribute> |
3135 | 3137 | </task> |
3136 | 3138 | <task name="csc"> |
3137 | | - <attribute name="exename">dmcs</attribute> |
| 3139 | + <attribute name="exename">${csc.tool}</attribute> |
3138 | 3140 | <attribute name="managed">true</attribute> |
3139 | 3141 | <attribute name="langversion">linq</attribute> |
3140 | 3142 | <attribute name="supportspackagereferences">true</attribute> |
|
3534 | 3536 | <attribute name="managed">true</attribute> |
3535 | 3537 | </task> |
3536 | 3538 | <task name="csc"> |
3537 | | - <attribute name="exename">gmcs</attribute> |
| 3539 | + <attribute name="exename">mcs</attribute> |
3538 | 3540 | <attribute name="managed">true</attribute> |
3539 | 3541 | <attribute name="supportspackagereferences">true</attribute> |
3540 | 3542 | <attribute name="supportsnowarnlist">true</attribute> |
|
3543 | 3545 | <attribute name="supportskeyfile">true</attribute> |
3544 | 3546 | <attribute name="supportsdelaysign">true</attribute> |
3545 | 3547 | <attribute name="supportslangversion">true</attribute> |
| 3548 | + <arg value="--langversion:ISO-2" /> |
3546 | 3549 | </task> |
3547 | 3550 | <task name="jsc"> |
3548 | 3551 | <attribute name="exename">mjs</attribute> |
|
3629 | 3632 | <property name="resgen.supportsexternalfilereferences" value="false" /> |
3630 | 3633 | <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" /> |
3631 | 3634 | <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/3.5')}" /> |
| 3635 | + <property name="csc.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/4.5/mcs.exe')}" /> |
3632 | 3636 | </project> |
3633 | 3637 | <tasks> |
3634 | 3638 | <task name="al"> |
3635 | 3639 | <attribute name="managed">true</attribute> |
3636 | 3640 | </task> |
3637 | 3641 | <task name="csc"> |
3638 | | - <attribute name="exename">gmcs</attribute> |
| 3642 | + <attribute name="exename">${csc.tool}</attribute> |
3639 | 3643 | <attribute name="managed">true</attribute> |
3640 | 3644 | <attribute name="langversion">linq</attribute> |
3641 | 3645 | <attribute name="supportspackagereferences">true</attribute> |
|
3734 | 3738 | <property name="resgen.supportsexternalfilereferences" value="false" /> |
3735 | 3739 | <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" /> |
3736 | 3740 | <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/4.0')}" /> |
| 3741 | + <property name="csc.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/4.5/mcs.exe')}" /> |
3737 | 3742 | </project> |
3738 | 3743 | <tasks> |
3739 | 3744 | <task name="al"> |
3740 | 3745 | <attribute name="managed">true</attribute> |
3741 | 3746 | </task> |
3742 | 3747 | <task name="csc"> |
3743 | | - <attribute name="exename">dmcs</attribute> |
| 3748 | + <attribute name="exename">${csc.tool}</attribute> |
3744 | 3749 | <attribute name="managed">true</attribute> |
3745 | 3750 | <attribute name="langversion">linq</attribute> |
3746 | 3751 | <attribute name="supportspackagereferences">true</attribute> |
|
0 commit comments