Skip to content

Commit

Permalink
[Mono.Android] Fix generator.exe invocation (dotnet#72)
Browse files Browse the repository at this point in the history
Commits daddcdf and 474dc74 broke the `src/Mono.Android` build
because they changed the location of `generator.exe` from
`external/Java.Interop/bin/$(Configuration)/generator.exe` to
`bin/$(Configuration)/lib/mandroid/generator.exe`.

Without `generator.exe`, *there is no* `Mono.Android` build, so it
failed, along with everything that depends on `Mono.Android`.

Correct the path to `generator.exe`.
  • Loading branch information
jonpryor authored and radical committed Jun 10, 2016
1 parent 43a8aa5 commit 0175852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mono.Android/Mono.Android.targets
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
Outputs="$(IntermediateOutputPath)android-$(AndroidApiLevel)\Mono.Android.projitems">
<MakeDir Directories="$(IntermediateOutputPath)android-$(AndroidApiLevel)" />
<PropertyGroup>
<Generator>..\..\external\Java.Interop\bin\$(Configuration)\generator.exe</Generator>
<Generator>$(OutputPath)..\..\..\mandroid\generator.exe</Generator>
<_ApiLevel>--api-level=$(AndroidApiLevel)</_ApiLevel>
<_Out>-o "$(IntermediateOutputPath)android-$(AndroidApiLevel)"</_Out>
<_Codegen>--codegen-target=XAJavaInterop1</_Codegen>
Expand Down

0 comments on commit 0175852

Please sign in to comment.