We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99897b2 commit 160d02aCopy full SHA for 160d02a
src/Java.Interop/Directory.Build.targets
@@ -16,14 +16,11 @@
16
Inputs="$(_JNIEnvGenPath)"
17
Outputs="Java.Interop/JniEnvironment.g.cs;$(IntermediateOutputPath)jni.c">
18
<MakeDir Directories="$(IntermediateOutputPath)" />
19
- <PropertyGroup>
20
- <_AddCompile Condition=" !Exists('Java.Interop/JniEnvironment.g.cs') ">True</_AddCompile>
21
- </PropertyGroup>
22
<Exec
23
Command="$(_RunJNIEnvGen) Java.Interop/JniEnvironment.g.cs $(IntermediateOutputPath)jni.c"
24
/>
25
<ItemGroup>
26
- <Compile Include="Java.Interop/JniEnvironment.g.cs" Condition=" '$(_AddCompile)' == 'True' " />
+ <Compile Include="$([System.IO.Path]::Combine('Java.Interop','JniEnvironment.g.cs'))" KeepDuplicates="false" />
27
</ItemGroup>
28
</Target>
29
<Target Name="BuildInteropJar"
0 commit comments