Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xamarin.Android.Build.Tasks] optimize $(AssemblySearchPaths) #2223

Merged
merged 1 commit into from
Sep 26, 2018
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;
jonathanpeppers marked this conversation as resolved.
Show resolved Hide resolved
</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>

<Target Name="_SeparateAppExtensionReferences">
Expand Down