xamarin-macios/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj

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

<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
2016-04-21 16:40:25 +03:00
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
2016-04-21 16:40:25 +03:00
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\external\Xamarin.MacDev\Xamarin.MacDev\Xamarin.MacDev.csproj" />
<ProjectReference Include="..\Xamarin.MacDev.Tasks.Core\Xamarin.MacDev.Tasks.Core.csproj" />
<ProjectReference Include="..\Xamarin.MacDev.Tasks\Xamarin.MacDev.Tasks.csproj" />
<ProjectReference Include="..\Xamarin.Mac.Tasks.Core\Xamarin.Mac.Tasks.Core.csproj" />
2016-04-21 16:40:25 +03:00
</ItemGroup>
<ItemGroup>
<None Include="*.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="*.props">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="../Xamarin.Shared/Xamarin.Shared.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="../Xamarin.Shared/Xamarin.Shared.props">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
2016-04-21 16:40:25 +03:00
</ItemGroup>
[msbuild] Build the MSBuild task assemblies for netstandard2.0. (#7706) * Bump Xamarin.MacDev. New commits in xamarin/Xamarin.MacDev: * xamarin/Xamarin.MacDev@210c664 Adds net451 to Xamarin.MacDev.csproj * xamarin/Xamarin.MacDev@64db365 [winios] Changes provisioning profiles default path * xamarin/Xamarin.MacDev@d34430a Switch to short-form projects and build for both net461 and netstandard2.0. (#68) Diff: https://github.com/xamarin/Xamarin.MacDev/compare/0f578f51e63b6ff93014782dbc9378e6b6bc6d75..210c664e56117d3a1a7f6dd002109eb444dbdc17 * [msbuild] Update to latest Mono.Cecil. The older version doesn't support netstandard2.0. No code changes were required. * [msbuild] Remove unused usings. * [msbuild] Make ILMerge work when building for netstandard2.0. Also unify/deduplicate the ILMerge logic between Xamarin.iOS and Xamarin.Mac. * [msbuild] Build for netstandard2.0 in addition to net461. * [msbuild] Use custom project configurations to support running the tests for both netstandard2.0 and net461. Use custom project configurations to support running the tests for when the tasks assembly is built for netstandard2.0 and net461. * [tests] Make command-line based 'make test-ios-tasks' run tests for both netstandard2.0 and net461. * [xharness] Add test configuration to run iOS MSBuild tests using either netstandard2.0 or net461. * [msbuild] Make the netstandard2.0-buils task assemblies the default. * [msbuild] ILRepack lib assemblies, not ref assemblies. Ask MSBuild to copy lib assemblies to the output folder when building for netstandard2.0, this way we can easily find the actual implementation libraries to pass to ILRepack. * [msbuild] Merge System.Text.Encodings.Web.dll as well. * [xharness] Fix build of MSBuild tests for iOS.
2020-01-16 20:22:48 +03:00
<Import Project="$(MSBuildThisFileDirectory)..\ILMerge.targets" />
</Project>