Skip to content

Commit 39e85c1

Browse files
[build] fix Novell/*.MonoDroid.*.targets copy during build
For a little while, our build has been copying three files to the root of our build tree: - Novell/MonoDroid.FSharp.targets - Novell/Novell.MonoDroid.Common.targets - Novell/Novell.MonoDroid.CSharp.targets These files are copied to build output in the Xamarin.Android.Build.Tasks project, but they should go in `bin/$(Configuration)` not the root of the build tree. While looking at binary log output, I noticed the Xamarin.Android.Build.Tests project was doing the copy due to having a `<ProjectReference />` to Xamarin.Android.Build.Tasks. Adding `<Private>False</Private>` to the `<ProjectReference />` fixes these files from being copied, and doesn't appear to have any other ill effects.
1 parent ef77024 commit 39e85c1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Xamarin.Android.Build.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<ProjectReference Include="..\..\Xamarin.Android.Build.Tasks.csproj">
6161
<Project>{3F1F2F50-AF1A-4A5A-BEDB-193372F068D7}</Project>
6262
<Name>Xamarin.Android.Build.Tasks</Name>
63+
<Private>False</Private>
6364
</ProjectReference>
6465
</ItemGroup>
6566
<ItemGroup>

0 commit comments

Comments
 (0)