Skip to content

Commit a5756ca

Browse files
authored
[Java.Interop] Place JniEnvironment.g.cs in $(IntermediateOutputPath) to support parallel builds. (#1023)
1 parent 4e0605f commit a5756ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Java.Interop/Java.Interop.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
<Target Name="BuildJniEnvironment_g_cs"
1515
BeforeTargets="BeforeCompile"
1616
Inputs="$(_JNIEnvGenPath)"
17-
Outputs="Java.Interop/JniEnvironment.g.cs;$(IntermediateOutputPath)jni.c">
17+
Outputs="$(IntermediateOutputPath)JniEnvironment.g.cs;$(IntermediateOutputPath)jni.c">
1818
<MakeDir Directories="$(IntermediateOutputPath)" />
1919
<Exec
20-
Command="$(_RunJNIEnvGen) Java.Interop/JniEnvironment.g.cs $(IntermediateOutputPath)jni.c"
20+
Command="$(_RunJNIEnvGen) $(IntermediateOutputPath)JniEnvironment.g.cs $(IntermediateOutputPath)jni.c"
2121
/>
2222
<ItemGroup>
23-
<Compile Include="$([System.IO.Path]::Combine('Java.Interop','JniEnvironment.g.cs'))" KeepDuplicates="false" />
23+
<Compile Include="$(IntermediateOutputPath)JniEnvironment.g.cs" KeepDuplicates="false" />
2424
</ItemGroup>
2525
</Target>
2626
<Target Name="BuildInteropJar"

0 commit comments

Comments
 (0)