Skip to content

Commit

Permalink
[Microsoft.Android.Templates] docs link in binding project template (#…
Browse files Browse the repository at this point in the history
…8535)

Fixes: #8411

Context: dotnet/docs-maui#1916

We have a nice docs page that should eliminate some confusion if we
linked to it with a comment in the project template.

I considered putting a commented out example of disabling the C# binding
(a'la `@(EmbeddedReferenceJar)`):

	<ItemGroup>
	  <AndroidLibrary Update="foo.jar" Bind="false">
	</ItemGroup

But I think this case is rare, and the docs page should be sufficient.
  • Loading branch information
jonathanpeppers authored Nov 29, 2023
1 parent 15320d0 commit 86eb5dc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">AndroidBinding1</RootNamespace>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!--
NOTE: you can simply add .aar or .jar files in this directory to be included in the project.
To learn more, see: https://learn.microsoft.com/dotnet/maui/migration/android-binding-projects
-->
</PropertyGroup>
</Project>

0 comments on commit 86eb5dc

Please sign in to comment.