| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,8 @@ | |||
| 9 | 9 | <echo message="Building ${project.name}-${project.version}"/> | |
| 10 | 10 | </target> | |
| 11 | 11 | ||
| 12 | - <target name="build-2.0"> | ||
| 12 | + <target name="build-2.0" depends="runtime, console, testdll, clrmodule, | ||
| 13 | + oldmodule"> | ||
| 13 | 14 | <property name="project.version" value="2.0.0"/> | |
| 14 | 15 | <echo message="Building ${project.name}-${project.version}"/> | |
| 15 | 16 | </target> | |
@@ -20,7 +21,7 @@ | |||
| 20 | 21 | ||
| 21 | 22 | ||
| 22 | 23 | <target name="console" depends="runtime" > | |
| 23 | - <csc target="exe" output="python.exe" > | ||
| 24 | + <csc target="exe" output="./python.exe" > | ||
| 24 | 25 | <references> | |
| 25 | 26 | <include name="python.runtime.dll" /> | |
| 26 | 27 | </references> | |
@@ -54,15 +55,15 @@ | |||
| 54 | 55 | <sources> | |
| 55 | 56 | <include name="src/runtime/oldmodule.il" /> | |
| 56 | 57 | </sources> | |
| 57 | - </csc> | ||
| 58 | + </ilasm> | ||
| 58 | 59 | </target> | |
| 59 | 60 | ||
| 60 | 61 | <target name="clrmodule"> | |
| 61 | 62 | <ilasm target="dll" output="clr.dll"> | |
| 62 | 63 | <sources> | |
| 63 | 64 | <include name="src/runtime/clrmodule.il" /> | |
| 64 | 65 | </sources> | |
| 65 | - </csc> | ||
| 66 | + </ilasm> | ||
| 66 | 67 | </target> | |
| 67 | 68 | ||
| 68 | 69 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -184,9 +184,9 @@ static string FindAssembly(string name) { | |||
| 184 | 184 | public static Assembly LoadAssembly(string name) { | |
| 185 | 185 | Assembly assembly = null; | |
| 186 | 186 | try { | |
| 187 | - #pragma warning disable 618 | ||
| 187 | + | ||
| 188 | 188 | assembly = Assembly.LoadWithPartialName(name); | |
| 189 | - #pragma warning restore 618 | ||
| 189 | + | ||
| 190 | 190 | } | |
| 191 | 191 | catch { | |
| 192 | 192 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments