-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fix for netstandard/android. See dotnet/android#1162 (comment)
- Loading branch information
1 parent
b2d55bf
commit f697191
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Workaround for https://github.com/xamarin/xamarin-android/issues/1162 --> | ||
<Project> | ||
<Target Name="ReplaceRefAssemblies" AfterTargets="_ResolveAssemblies"> | ||
<ItemGroup> | ||
<ResolvedAssembliesFixedWindows Include="@(ResolvedAssemblies->Replace('\ref\','\lib\'))" /> | ||
<ResolvedAssembliesFixedUnix Include="@(ResolvedAssemblies->Replace('/ref/','/lib/'))" /> | ||
<ResolvedAssembliesFixed Include="@(ResolvedAssembliesFixedWindows)" Condition="@(ResolvedAssembliesFixedWindows) != @(ResolvedAssemblies)" /> | ||
<ResolvedAssembliesFixed Include="@(ResolvedAssembliesFixedUnix)" Condition="@(ResolvedAssembliesFixedUnix) != @(ResolvedAssemblies)" /> | ||
<ResolvedAssemblies Remove="@(ResolvedAssemblies)" /> | ||
<ResolvedAssemblies Include="@(ResolvedAssembliesFixed)" /> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |