Skip to content

Commit

Permalink
Fix XM Full netstandard to copy in correct assemblies (xamarin#2685)
Browse files Browse the repository at this point in the history
- Applications will build but crash on launch otherwise
  • Loading branch information
chamons authored Sep 19, 2017
1 parent aecaa74 commit f79f2e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,9 @@ Copyright (C) 2014 Xamarin. All rights reserved.
<Target Name="_CompileToNative" DependsOnTargets="_DetectAppManifest;_DetectSdkLocations;_GenerateBundleName;ResolveReferences;_CompileEntitlements;_CompileAppManifest"
Inputs="$(TargetDir)$(TargetFileName)"
Outputs="$(_AppBundlePath)Contents\MacOS\$(_AppBundleName)">
<ItemGroup>
<ReferenceCopyLocalAssemblyPaths Include="@(ReferenceCopyLocalPaths)" Condition="'%(Extension)' == '.dll'" />
</ItemGroup>
<Mmp
Condition="'$(IsMacEnabled)' == 'true'"
SessionId="$(BuildSessionId)"
Expand All @@ -556,7 +559,7 @@ Copyright (C) 2014 Xamarin. All rights reserved.
Profiling="$(Profiling)"
ExtraArguments="$(MonoBundlingExtraArgs)"
NativeReferences="@(NativeReference)"
ExplicitReferences="@(ReferencePath)"
ExplicitReferences="@(ReferencePath);@(ReferenceCopyLocalAssemblyPaths)"
SdkRoot="$(_SdkDevPath)"
IntermediateOutputPath="$(IntermediateOutputPath)mmp-cache"
AppManifest="$(_AppManifest)"
Expand Down

0 comments on commit f79f2e4

Please sign in to comment.