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
[Java.Base-Tests] Use $(UtilityOutputFullPath)/jcw-gen.dll (#979)
Context: dotnet/android#6984
While attempting to bump Java.Interop, the **nunit Java.Interop tests**
job is failing on Windows, because it can't find `jcw-gen.dll`:
C:\a\_work\2\s\external\Java.Interop\tests\Java.Base-Tests\Java.Base-Tests.targets(27,5):
error MSB3073: The command "C:\a\_work\2\s\bin\Release\dotnet\dotnet "C:\a\_work\2\s\external\Java.Interop\bin\Release-net6.0\/jcw-gen.dll" …"" exited with code 1.
The `jcw-gen.dll` invocation needs to use `$(UtilityOutputFullPath)`,
not `$(ToolOutputFullPath)`, as the `jcw-gen.dll` output path is
altered within xamarin/xamarin-android. `$(UtilityOutputFullPath)`
allows customization by xamarin-android, not `$(ToolOutputFullPath)`.
0 commit comments