Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,20 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved.

<!-- Do not resolve from the GAC under any circumstances in Mobile -->
<PropertyGroup>
<AssemblySearchPaths>$([System.String]::Copy('$(AssemblySearchPaths)').Replace('{GAC}',''))</AssemblySearchPaths>
<AssemblySearchPaths Condition="'$(MSBuildRuntimeVersion)' != ''">$(AssemblySearchPaths.Split(';'))</AssemblySearchPaths>
<AssemblySearchPaths>
{HintPathFromItem};
{TargetFrameworkDirectory};
{RawFileName};
</AssemblySearchPaths>
<AllowedReferenceAssemblyFileExtensions>
.dll;
</AllowedReferenceAssemblyFileExtensions>
<AllowedReferenceRelatedFileExtensions>
.pdb;
.xml;
.dll.config;
.dll.mdb;
</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>

<Target Name="_SeparateAppExtensionReferences">
Expand Down