Skip to content

Commit f524919

Browse files
committed
checkpoint
1 parent a141b40 commit f524919

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

pythonnet/pythonnet.build

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<echo message="Building ${project.name}-${project.version}"/>
1010
</target>
1111

12-
<target name="build-2.0">
12+
<target name="build-2.0" depends="runtime, console, testdll, clrmodule,
13+
oldmodule">
1314
<property name="project.version" value="2.0.0"/>
1415
<echo message="Building ${project.name}-${project.version}"/>
1516
</target>
@@ -20,7 +21,7 @@
2021

2122

2223
<target name="console" depends="runtime" >
23-
<csc target="exe" output="python.exe" >
24+
<csc target="exe" output="./python.exe" >
2425
<references>
2526
<include name="python.runtime.dll" />
2627
</references>
@@ -54,15 +55,15 @@
5455
<sources>
5556
<include name="src/runtime/oldmodule.il" />
5657
</sources>
57-
</csc>
58+
</ilasm>
5859
</target>
5960

6061
<target name="clrmodule">
6162
<ilasm target="dll" output="clr.dll">
6263
<sources>
6364
<include name="src/runtime/clrmodule.il" />
6465
</sources>
65-
</csc>
66+
</ilasm>
6667
</target>
6768

6869

pythonnet/src/runtime/assemblymanager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ static string FindAssembly(string name) {
184184
public static Assembly LoadAssembly(string name) {
185185
Assembly assembly = null;
186186
try {
187-
#pragma warning disable 618
187+
188188
assembly = Assembly.LoadWithPartialName(name);
189-
#pragma warning restore 618
189+
190190
}
191191
catch {
192192
}

0 commit comments

Comments
 (0)