xamarin-macios/tools/mmp/mmp.csproj

388 строки
16 KiB
XML
Исходник Обычный вид История

2016-04-21 15:57:02 +03:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F3232882-0FA0-4BB6-9D9C-E2CC779EAF0D}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>linker</RootNamespace>
<AssemblyName>mmp</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<UseXamMacFullFramework>true</UseXamMacFullFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>False</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>MONOMAC;MMP;DEBUG</DefineConstants>
2016-04-21 15:57:02 +03:00
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>anycpu</PlatformTarget>
2016-04-21 15:57:02 +03:00
<ConsolePause>False</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableCodeSigning>false</EnableCodeSigning>
<CreatePackage>false</CreatePackage>
<EnablePackageSigning>false</EnablePackageSigning>
<IncludeMonoRuntime>false</IncludeMonoRuntime>
<UseSGen>false</UseSGen>
<UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>False</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<ConsolePause>False</ConsolePause>
2016-04-25 05:36:52 +03:00
<DefineConstants>MONOMAC;MMP</DefineConstants>
2016-04-21 15:57:02 +03:00
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableCodeSigning>false</EnableCodeSigning>
<CreatePackage>false</CreatePackage>
<EnablePackageSigning>false</EnablePackageSigning>
<IncludeMonoRuntime>false</IncludeMonoRuntime>
<UseSGen>false</UseSGen>
<UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Mono.Security" />
</ItemGroup>
<ItemGroup>
<Compile Include="Application.cs" />
2016-04-25 05:36:52 +03:00
<Compile Include="driver.cs" />
<Compile Include="aot.cs" />
2016-04-25 05:36:52 +03:00
<Compile Include="resolver.cs" />
<Compile Include="Tuning.cs" />
<Compile Include="Assembly.cs" />
<Compile Include="error.cs" />
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\ApplyPreserveAttributeBase.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\ApplyPreserveAttributeBase.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\CecilRocks.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\CecilRocks.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\CustomizeActions.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\CustomizeActions.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\Dispatcher.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\Dispatcher.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\Extensions.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\Extensions.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\PreserveCrypto.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\PreserveCrypto.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\PreserveSoapHttpClients.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\PreserveSoapHttpClients.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\RemoveAttributesBase.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\RemoveAttributesBase.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\RemoveResources.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\RemoveResources.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\RemoveSecurity.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\RemoveSecurity.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\TunerAnnotations.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\TunerAnnotations.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\Annotations.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\Annotations.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\AssemblyAction.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\AssemblyAction.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\AssemblyResolver.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\AssemblyResolver.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\I18nAssemblies.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\I18nAssemblies.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\IXApiVisitor.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\IXApiVisitor.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\LinkContext.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\LinkContext.cs</Link>
</Compile>
<Compile Include="..\..\external\linker\linker\Mono.Linker\LoadException.cs">
<Link>Mono.Linker\LoadException.cs</Link>
</Compile>
<Compile Include="..\..\external\linker\linker\Mono.Linker\MarkException.cs">
<Link>Mono.Linker\MarkException.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\MethodAction.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\MethodAction.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\Pipeline.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\Pipeline.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\TypePreserve.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\TypePreserve.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker\XApiReader.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker\XApiReader.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\BaseStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\BaseStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\BlacklistStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\BlacklistStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\CleanStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\CleanStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\IStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\IStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\LoadI18nAssemblies.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\LoadI18nAssemblies.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\LoadReferencesStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\LoadReferencesStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\MarkStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\MarkStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\OutputStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\OutputStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\RegenerateGuidStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\RegenerateGuidStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\ResolveFromAssemblyStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\ResolveFromAssemblyStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\ResolveFromXApiStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\ResolveFromXApiStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\ResolveFromXmlStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\ResolveFromXmlStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\ResolveStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\ResolveStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\SweepStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\SweepStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\linker\Mono.Linker.Steps\TypeMapStep.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Linker.Steps\TypeMapStep.cs</Link>
</Compile>
2017-02-16 16:06:11 +03:00
<Compile Include="..\..\external\linker\tuner\Mono.Tuner\Profile.cs">
2016-04-21 15:57:02 +03:00
<Link>Mono.Tuner\Profile.cs</Link>
</Compile>
<Compile Include="..\..\external\mono\mcs\class\Mono.Options\Mono.Options\Options.cs">
<Link>Options.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\MonoMacMarkStep.cs">
<Link>MonoMac.Tuner\MonoMacMarkStep.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\MonoMacProfile.cs">
<Link>MonoMac.Tuner\MonoMacProfile.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\MonoMacNamespaces.cs">
<Link>MonoMac.Tuner\MonoMacNamespaces.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\OptimizeGeneratedCodeSubStep.cs">
<Link>MonoMac.Tuner\OptimizeGeneratedCodeSubStep.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\MonoMacPreserveCode.cs">
<Link>MonoMac.Tuner\MonoMacPreserveCode.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\MacRemoveResources.cs">
<Link>MonoMac.Tuner\MacRemoveResources.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\MacMobileProfile.cs">
<Link>MonoMac.Tuner\MacMobileProfile.cs</Link>
</Compile>
<Compile Include="..\linker\BaseProfile.cs">
<Link>Xamarin.Linker\BaseProfile.cs</Link>
</Compile>
<Compile Include="..\linker\RemoveSelectors.cs">
<Link>Xamarin.Linker\RemoveSelectors.cs</Link>
</Compile>
<Compile Include="..\linker\ObjCExtensions.cs">
<Link>Xamarin.Linker\ObjCExtensions.cs</Link>
</Compile>
<Compile Include="..\linker\MarkNSObjects.cs">
<Link>Xamarin.Linker\MarkNSObjects.cs</Link>
</Compile>
<Compile Include="..\linker\ApplyPreserveAttribute.cs">
<Link>Xamarin.Linker\ApplyPreserveAttribute.cs</Link>
</Compile>
<Compile Include="..\linker\CoreRemoveAttributes.cs">
<Link>Xamarin.Linker\CoreRemoveAttributes.cs</Link>
</Compile>
<Compile Include="..\linker\CoreHttpMessageHandler.cs">
<Link>Xamarin.Linker\CoreHttpMessageHandler.cs</Link>
</Compile>
<Compile Include="..\linker\MobileRemoveAttributes.cs">
<Link>Xamarin.Linker\MobileRemoveAttributes.cs</Link>
</Compile>
<Compile Include="..\linker\MobileMarkStep.cs">
<Link>Xamarin.Linker\MobileMarkStep.cs</Link>
</Compile>
<Compile Include="..\linker\MobileExtensions.cs">
<Link>Xamarin.Linker\MobileExtensions.cs</Link>
</Compile>
<Compile Include="..\linker\CoreMarkStep.cs">
<Link>Xamarin.Linker\CoreMarkStep.cs</Link>
</Compile>
<Compile Include="..\linker\CorePreserveCode.cs">
<Link>Xamarin.Linker\CorePreserveCode.cs</Link>
</Compile>
<Compile Include="..\linker\MobileProfile.cs">
<Link>Xamarin.Linker\MobileProfile.cs</Link>
</Compile>
<Compile Include="..\linker\MobileSweepStep.cs">
<Link>Xamarin.Linker\MobileSweepStep.cs</Link>
</Compile>
<Compile Include="..\linker\CoreOptimizeGeneratedCode.cs">
<Link>Xamarin.Linker\CoreOptimizeGeneratedCode.cs</Link>
</Compile>
2016-04-25 05:36:52 +03:00
<Compile Include="..\linker\CoreRemoveSecurity.cs">
<Link>Xamarin.Linker\CoreRemoveSecurity.cs</Link>
</Compile>
<Compile Include="..\linker\MonoTouch.Tuner\Extensions.cs">
<Link>MonoTouch.Tuner\Extensions.cs</Link>
</Compile>
<Compile Include="..\linker\MonoTouch.Tuner\ListExportedSymbols.cs">
<Link>MonoTouch.Tuner\ListExportedSymbols.cs</Link>
</Compile>
<Compile Include="..\linker\MonoTouch.Tuner\ProcessExportedFields.cs">
<Link>MonoTouch.Tuner\ProcessExportedFields.cs</Link>
</Compile>
<Compile Include="..\..\src\build\mac\Constants.cs">
<Link>external\Constants.cs</Link>
</Compile>
<Compile Include="..\..\src\ObjCRuntime\ErrorHelper.cs">
<Link>external\ErrorHelper.cs</Link>
</Compile>
<Compile Include="..\..\src\ObjCRuntime\ExceptionMode.cs">
<Link>external\ExceptionMode.cs</Link>
</Compile>
2016-04-25 05:36:52 +03:00
<Compile Include="..\..\src\ObjCRuntime\Registrar.cs">
<Link>external\Registrar.cs</Link>
</Compile>
<Compile Include="..\common\TargetFramework.cs">
<Link>external\TargetFramework.cs</Link>
</Compile>
<Compile Include="..\common\cache.cs">
<Link>external\cache.cs</Link>
</Compile>
2016-04-21 15:57:02 +03:00
<Compile Include="..\common\Driver.cs">
<Link>external\Driver.cs</Link>
</Compile>
<Compile Include="..\common\StaticRegistrar.cs">
<Link>external\StaticRegistrar.cs</Link>
</Compile>
<Compile Include="..\common\MachO.cs">
<Link>external\MachO.cs</Link>
</Compile>
<Compile Include="..\common\Frameworks.cs">
<Link>external\Frameworks.cs</Link>
</Compile>
<Compile Include="..\common\Application.cs">
<Link>external\Application.cs</Link>
</Compile>
<Compile Include="..\common\Assembly.cs">
<Link>external\Assembly.cs</Link>
</Compile>
<Compile Include="..\common\Target.cs">
<Link>external\Target.cs</Link>
</Compile>
<Compile Include="..\common\DerivedLinkContext.cs">
<Link>external\DerivedLinkContext.cs</Link>
</Compile>
2016-04-21 15:57:02 +03:00
<Compile Include="..\..\src\ObjCRuntime\Registrar.core.cs">
<Link>external\Registrar.core.cs</Link>
</Compile>
<Compile Include="..\..\src\ObjCRuntime\RuntimeOptions.cs">
<Link>external\RuntimeOptions.cs</Link>
</Compile>
<Compile Include="..\..\src\Foundation\ConnectAttribute.cs">
<Link>external\ConnectAttribute.cs</Link>
</Compile>
<Compile Include="..\..\src\Foundation\ExportAttribute.cs">
<Link>external\ExportAttribute.cs</Link>
</Compile>
<Compile Include="..\..\src\ObjCRuntime\ArgumentSemantic.cs">
<Link>external\ArgumentSemantic.cs</Link>
</Compile>
<Compile Include="..\..\src\ObjCRuntime\LinkWithAttribute.cs">
<Link>external\LinkWithAttribute.cs</Link>
</Compile>
<Compile Include="..\..\src\ObjCRuntime\PlatformAvailability2.cs">
<Link>external\PlatformAvailability2.cs</Link>
</Compile>
<Compile Include="..\common\PInvokeWrapperGenerator.cs">
<Link>external\PInvokeWrapperGenerator.cs</Link>
</Compile>
[mtouch][linker] Provide a more specific error code when OptimizeGeneratedCodeSubStep fails (#903) The MT2001 error is a general, something went bad, in the linker code base. The stack trace is often enough to track down issues but in some cases it would be easier to ask customers for a specific assembly (rather than their complete project) to investigate an issue. Example: error MT2103: Binding Optimizer failed processing `System.Void GoogleConversionTracking.Unified.GoogleConversionPing::.ctor()`. --- inner exception System.NullReferenceException: Object reference not set to an instance of an object at MonoTouch.Tuner.OptimizeGeneratedCodeSubStep.ProcessIsDirectBinding (Mono.Cecil.MethodDefinition caller, Mono.Cecil.Cil.Instruction ins) [0x00026] in /Users/poupou/git/xamarin/xamarin-macios/tools/linker/MonoTouch.Tuner/OptimizeGeneratedCodeSubStep.cs:264 at MonoTouch.Tuner.OptimizeGeneratedCodeSubStep.ProcessCalls (Mono.Cecil.MethodDefinition caller, Int32 i) [0x00337] in /Users/poupou/git/xamarin/xamarin-macios/tools/linker/MonoTouch.Tuner/OptimizeGeneratedCodeSubStep.cs:197 at MonoTouch.Tuner.OptimizeGeneratedCodeSubStep.Process (Mono.Cecil.MethodDefinition method) [0x0007b] in /Users/poupou/git/xamarin/xamarin-macios/tools/linker/MonoTouch.Tuner/OptimizeGeneratedCodeSubStep.cs:81 at Xamarin.Linker.StateSubStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00004] in /Users/poupou/git/xamarin/xamarin-macios/tools/linker/CoreOptimizeGeneratedCode.cs:48 --- at Xamarin.Linker.StateSubStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00014] in /Users/poupou/git/xamarin/xamarin-macios/tools/linker/CoreOptimizeGeneratedCode.cs:50 at Mono.Tuner.SubStepDispatcher.DispatchMethod (Mono.Cecil.MethodDefinition method) [0x0001d] in /Users/poupou/git/xamarin/xamarin-macios/external/mono/mcs/tools/tuner/Mono.Tuner/Dispatcher.cs:215 at Mono.Tuner.SubStepDispatcher.BrowseMethods (ICollection methods) [0x0001c] in /Users/poupou/git/xamarin/xamarin-macios/external/mono/mcs/tools/tuner/Mono.Tuner/Dispatcher.cs:167 at Mono.Tuner.SubStepDispatcher.BrowseTypes (ICollection types) [0x0006b] in /Users/poupou/git/xamarin/xamarin-macios/external/mono/mcs/tools/tuner/Mono.Tuner/Dispatcher.cs:145 at Mono.Tuner.SubStepDispatcher.BrowseAssemblies (IEnumerable`1 assemblies) [0x00050] in /Users/poupou/git/xamarin/xamarin-macios/external/mono/mcs/tools/tuner/Mono.Tuner/Dispatcher.cs:123 at Mono.Tuner.SubStepDispatcher.Process (Mono.Linker.LinkContext context) [0x0000f] in /Users/poupou/git/xamarin/xamarin-macios/external/mono/mcs/tools/tuner/Mono.Tuner/Dispatcher.cs:104 at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00027] in /Users/poupou/git/xamarin/xamarin-macios/external/mono/mcs/tools/linker/Mono.Linker/Pipeline.cs:118 at MonoTouch.Tuner.Linker.Process (MonoTouch.Tuner.LinkerOptions options, MonoTouch.Tuner.MonoTouchLinkContext& context, System.Collections.Generic.List`1& assemblies) [0x000ac] in /Users/poupou/git/xamarin/xamarin-macios/tools/mtouch/Tuning.cs:79 Right now the MT2001 would only include the inner exception, which does not include any clue to which assembly caused the exception. Note: The same pattern to be applied to other BaseSubStep subclasses in separate commits. Related to (but not the fix for) https://bugzilla.xamarin.com/show_bug.cgi?id=44701
2016-09-28 18:46:14 +03:00
<Compile Include="..\linker\ExceptionalSubStep.cs">
<Link>Xamarin.Linker\ExceptionalSubStep.cs</Link>
</Compile>
<Compile Include="..\linker\RemoveUserResourcesSubStep.cs">
<Link>Xamarin.Linker\RemoveUserResourcesSubStep.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\XamarinMacProfile.cs">
<Link>MonoMac.Tuner\XamarinMacProfile.cs</Link>
</Compile>
<Compile Include="linker\MonoMac.Tuner\MacBaseProfile.cs">
<Link>MonoMac.Tuner\MacBaseProfile.cs</Link>
</Compile>
[mtouch] Improve how we make sure native symbols aren't stripped away. Fixes #51710 and #54417. (#2162) * [mtouch] Improve how we make sure native symbols aren't stripped away. Fixes #51710 and #54417. * Refactor required symbol collection to store more information about each symbol (field, function, Objective-C class), and in general make the code more straight forward. * Implement support for generating source code that references these symbols, and do this whenever we can't ask the native linker to keep these symbols (when using bitcode). Additionally make it possible to do this manually, so that the source code can be generated for non-bitcode platforms too (which is useful if the number of symbols is enormous, in which case we might surpass the maximum command-line length). * Also make it possible to completely ignore native symbols, or ignore them on a per-symbol basis. This provides a fallback for users if we get something right and we try to preserve something that shouldn't be preserved (for instance if it doesn't exist), and the user ends up with unfixable linker errors. * Don't collect Objective-C classes unless they're in an assembly with LinkWith attributes. We don't need to preserve Objective-C classes in any other circumstances. * Implement everything for both Xamarin.iOS and Xamarin.Mac, and share the code between them. * Remove previous workaround for bug #51710, since it's no longer needed. * Add tests. https://bugzilla.xamarin.com/show_bug.cgi?id=54417 https://bugzilla.xamarin.com/show_bug.cgi?id=51710 * [mtouch] Make sure to only keep symbols from the current app when code sharing. This fixes a build problem with the interdependent-binding-projects test when testing in Today Extension mode.
2017-06-02 19:29:19 +03:00
<Compile Include="..\common\Symbols.cs">
<Link>external\Symbols.cs</Link>
</Compile>
<Compile Include="..\common\StringUtils.cs">
<Link>external\StringUtils.cs</Link>
</Compile>
2016-04-21 15:57:02 +03:00
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<EmbeddedResource Include="config">
<LogicalName>config</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="linker\Descriptors\mscorlib.xml">
<Link>Resources\mscorlib.xml</Link>
<LogicalName>mscorlib.xml</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="config_mobile">
<LogicalName>config_mobile</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="machine.4_5.config">
<LogicalName>machine.4_5.config</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Info-framework.plist.tmpl">
<LogicalName>Info-framework.plist.tmpl</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Info.plist.tmpl">
<LogicalName>Info.plist.tmpl</LogicalName>
</EmbeddedResource>
2016-04-21 15:57:02 +03:00
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
<Folder Include="MonoMac.Tuner\" />
<Folder Include="Xamarin.Linker\" />
</ItemGroup>
<ItemGroup>
<None Include="Makefile" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\external\mono\external\cecil\Mono.Cecil.csproj">
<Project>{D68133BD-1E63-496E-9EDE-4FBDBF77B486}</Project>
<Name>Mono.Cecil</Name>
</ProjectReference>
<ProjectReference Include="..\..\external\mono\external\cecil\symbols\mdb\Mono.Cecil.Mdb.csproj">
<Project>{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}</Project>
<Name>Mono.Cecil.Mdb</Name>
</ProjectReference>
</ItemGroup>
</Project>