You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[build] Java.Interop should use <ProjectReference/> for jnienv-gen (#477)
Java.Interop had a custom MSBuild target that builds
`jnienv-gen.csproj`:
<Target Name="BuildJnienvGen"
Inputs="..\..\build-tools\jnienv-gen\jnienv-gen.csproj"
Outputs="$(JNIEnvGenPath)\jnienv-gen.exe">
<MSBuild
Projects="..\..\build-tools\jnienv-gen\jnienv-gen.csproj"
/>
</Target>
The problem with this is that if any `.cs` files change in
`jnienv-gen.csproj`, then this target will not run.
Instead we should be able to use `<ProjectReference/>` with
`%(ReferenceOutputAssembly)=False`, and everything should "just work".
0 commit comments