Uh oh!
There was an error while loading. Please reload this page.
[Xamarin.Android.Build.utilities] Switch over to using the xamarin-android-tools repo for SDK resolution. [INPROGRESS] - #241
Conversation
…droid-tools repo for SDK resolution. We currently have duplicate code between Xamarin.Android and Xamarin Studio to resolve the Android Sdk/Ndk. This commit updates xamarin-android to use the new xamarin-android-tools repo for the SDK resolution. Xamarin Studio will also need to be updated to use the new common code base.
| branch = master | ||
| [submodule "external/xamarin-android-tools"] | ||
| path = external/xamarin-android-tools | ||
| url = git@github.com:xamarin/xamarin-android-tools.git |
There was a problem hiding this comment.
This should be an https:// url, like the other submodules. Requiring git@ urls complicates checkouts for those who don't have GitHub accounts, iirc. (Or something like that...?)
| <Project>{E248B2CA-303B-4645-ADDC-9D4459D550FD}</Project> | ||
| <Name>libZipSharp</Name> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\..\external\xamarin-android-tools\src\Xamarin.Android.Tools\Xamarin.Android.Tools.csproj"> |
There was a problem hiding this comment.
We should possibly follow suit with other external modules:
In toplevel
Configuration.props, add a$(XamarinAndroidToolsFullPath)MSBuild property (and others)This line should then become:
<ProjectReference Include="$(XamarinAndroidToolsFullPath)\src\Xamarin.Android.Tools\Xamarin.Android.Tools.csproj">
This is so that the directory can be overridden.
| <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
| <ItemGroup> | ||
| <Folder Include="Sdks\" /> | ||
| <ProjectReference Include="..\..\external\xamarin-android-tools\src\Xamarin.Android.Tools\Xamarin.Android.Tools.csproj"> |
There was a problem hiding this comment.
Ditto here with using $(XamarinAndroidToolsFullPath).
jonpryor
commented
Sep 29, 2016
Note that the PR build failed: This is probably due to the use of the |
jonpryor
commented
Nov 30, 2016
build |
jonpryor
commented
Sep 12, 2017
Superseded by PR #835. |
Added them to the gendarme ignore list with an explanation.
We currently have duplicate code between Xamarin.Android and Xamarin Studio
to resolve the Android Sdk/Ndk. This commit updates xamarin-android to use
the new xamarin-android-tools repo for the SDK resolution.
Xamarin Studio will also need to be updated to use the new common code
base.