Merge pull request #554 from Microsoft/revert-552-fix/externals-command

Revert "Apply externals command in bindings for all configurations"
This commit is contained in:
Guillaume Perrot 2017-12-12 12:23:01 -08:00 коммит произвёл GitHub
Родитель 2e9c2f2956 81a4dbf2b8
Коммит c514871104
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 81 добавлений и 81 удалений

Просмотреть файл

@ -16,20 +16,6 @@
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<AndroidTlsProvider>
</AndroidTlsProvider>
<CustomCommands>
<CustomCommands>
<Command>
<type>BeforeBuild</type>
<command>sh build.sh -t=externals-android</command>
<workingdir>${SolutionDir}</workingdir>
</Command>
<Command>
<type>AfterClean</type>
<command>rm -rf externals/android</command>
<workingdir>${SolutionDir}</workingdir>
</Command>
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -39,6 +25,20 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CustomCommands>
<CustomCommands>
<Command>
<type>BeforeBuild</type>
<command>sh ./build.sh -t=externals-android</command>
<workingdir>${ProjectDir}/../../..</workingdir>
</Command>
<Command>
<type>AfterClean</type>
<command>rm -rf ../../../externals/android</command>
<workingdir>${ProjectDir}</workingdir>
</Command>
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>

Просмотреть файл

@ -1,70 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5490FECC-63B2-4543-B4FE-EDD8D1BD8351}</ProjectGuid>
<ProjectTypeGuids>{8FFB629D-F513-41CE-95D2-7ECE97B6EEEC};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.AppCenter.iOS.Bindings</RootNamespace>
<AssemblyName>Microsoft.AppCenter.iOS.Bindings</AssemblyName>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<CustomCommands>
<CustomCommands>
<Command>
<type>BeforeBuild</type>
<command>sh build.sh -t=externals-ios</command>
<workingdir>${SolutionDir}</workingdir>
</Command>
<Command>
<type>AfterClean</type>
<command>rm -rf externals/ios</command>
<workingdir>${SolutionDir}</workingdir>
</Command>
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="Xamarin.iOS" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ObjcBindingApiDefinition Include="ApiDefinition.cs" />
</ItemGroup>
<ItemGroup>
<ObjcBindingCoreSource Include="StructsAndEnums.cs" />
</ItemGroup>
<ItemGroup>
<NativeReference Include="..\..\..\externals\ios\AppCenter.a">
<Kind>Static</Kind>
<ForceLoad>True</ForceLoad>
<LinkerFlags>-lsqlite3</LinkerFlags>
</NativeReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5490FECC-63B2-4543-B4FE-EDD8D1BD8351}</ProjectGuid>
<ProjectTypeGuids>{8FFB629D-F513-41CE-95D2-7ECE97B6EEEC};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.AppCenter.iOS.Bindings</RootNamespace>
<AssemblyName>Microsoft.AppCenter.iOS.Bindings</AssemblyName>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CustomCommands>
<CustomCommands>
<Command>
<type>BeforeBuild</type>
<command>sh ./build.sh -t=externals-ios</command>
<workingdir>${ProjectDir}/../../..</workingdir>
</Command>
<Command>
<type>AfterClean</type>
<command>rm -rf externals/ios</command>
<workingdir>${ProjectDir}/../../..</workingdir>
</Command>
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="Xamarin.iOS" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ObjcBindingApiDefinition Include="ApiDefinition.cs" />
</ItemGroup>
<ItemGroup>
<ObjcBindingCoreSource Include="StructsAndEnums.cs" />
</ItemGroup>
<ItemGroup>
<NativeReference Include="..\..\..\externals\ios\AppCenter.a">
<Kind>Static</Kind>
<ForceLoad>True</ForceLoad>
<LinkerFlags>-lsqlite3</LinkerFlags>
</NativeReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets" />
</Project>