Граф коммитов

2041 Коммитов

Автор SHA1 Сообщение Дата
Jeffrey Stedfast 296cb5c3fa [msbuild] Fixed PathUtils.AbsoluteToRelative() logic (#1861)
* [msbuild] Fixed PathUtils.AbsoluteToRelative() logic

Don't require the 'absolute' path argument to be a FullPath.

The code already calls Path.GetFullPath() on the 'absolute'
path anyway.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53176

* Fixed ResolveSymbolicLinks() to return the input path if realpath() fails
2017-03-17 15:25:10 -04:00
Jeffrey Stedfast 694bd212b3 [msbuild] Added logging for all of the overridden MSBuild default tasks (#1829) 2017-03-17 15:24:58 -04:00
Jeffrey Stedfast 1c6565eaf5 [msbuild] ALWAYS log ibtool/actool exitCode != 0 as an error (#1840)
Log this as an error even if the log file does not exist and/or
is parseable.

Previously, it was possible that if the log file didn't exist
or it was perfectly validly formatted, we would never log that
error code and so it's possible that we wouldn't log *any*
error at all (e.g. empty log file).
2017-03-17 15:24:43 -04:00
Jeffrey Stedfast 51fdfa825c [msbuild] Run the _ComputeTargetArchitectures target before cleaning (#1828)
Some of the Clean steps need the _ComputeTargetArchitectures
target to run before they can properly do their thing because
they depend on DeviceSpecific paths.

Also added logic to rm -rf extension *.dSYM and framework *.dSYM
dirs in the container app bin dir (which fails on xbuild due to
a bug in xbuild... yay!)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53007
2017-03-17 15:24:23 -04:00
Jeffrey Stedfast ca6da28e91 [msbuild] Make sure to codesign appex dylibs (#1812)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52745

Added a new CodesignNativeLibraries task that scans for
and then codesigns each *.dylib and *.metallib in the
app bundle (minus those in the PlugIns and Watch dirs).
2017-03-17 15:24:05 -04:00
Jeffrey Stedfast cfb5a1674a [msbuild] sanity check TargetiOSDevice property for conflicts (#1799)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52847

If the device archs do not match the configuration, don't
do a device-specific build.
2017-03-17 15:23:52 -04:00
Jeffrey Stedfast a03458660d [msbuild] Remove an unused enum that causes confusion (#1798) 2017-03-17 15:23:28 -04:00
Jeffrey Stedfast 19345f65a4 [msbuild] Make a build error more clearly worded (#1794)
Related to https://bugzilla.xamarin.com/show_bug.cgi?id=52847
2017-03-17 15:23:13 -04:00
Jeffrey Stedfast e6d037ef5a [msbuild] Ignore .DS_Store files when cloning asset catalogs (#1776)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52851

The problem here is that the .DS_Store file was included in
the .csproj file but did not exist on disk, so when we went
to clone that file into the obj/ dir before running actool
on it, File.Copy() would fail because the file did not
actually exist.

Since these files are worthless anyway, we can safely ignore
them.

Also added logic to verify that files exist before copying
them in order to report a better error than an exception
stack trace.
2017-03-17 15:22:46 -04:00
Jeffrey Stedfast ae047281a3 [msbuild] Index into the correct item array when printing an error message (#1792)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52860

When the ImageAssets contain an item that doesn't live within
a *.xcassets directory, index into ImageAssets[] rather than
items[] which hasn't been populated yet.

Also fixed the tagsList for-loop to use tagsList.Count instead
for correctness (even though tags.Count and tagsList.Count
should always be identical).
2017-03-17 15:19:51 -04:00
Rolf Bjarne Kvinge 16eee1d243 [tests] Fix mlaunch path, it's no longer shipped with Xamarin Studio. (#1842) 2017-03-14 11:54:13 +01:00
Ankit Jain 18c1f808a1 Xamarin.Mac.FSharp.targets - Fix imports to work correctly with ..
.. MSBuildExtensionsPath* .

`MSBuildExtensionsPath*` supports search paths only if the string
`$(MSBuildExtensionsPath)` (or *32/*64) appear in the `Project`
attribute of the `Import` element. Otherwise the value of the property
or the default value is used. So, restructure to conditionally import
rather than a import using a property with the final path.
2017-03-14 11:54:13 +01:00
Marek Safar 580f502777 Update IntPtrSizeOptimization test to consider Debug mode IL output 2017-03-14 11:54:13 +01:00
Marek Safar f88d52b424 Fixes tuner IL optimization for get_Size to work with short branches 2017-03-14 11:54:13 +01:00
Marek Safar cace323b45 Another system mono bump 2017-03-14 11:54:13 +01:00
Marek Safar 226b34ea06 Update tests to work with csc compiler 2017-03-14 11:54:13 +01:00
Marek Safar 3912019640 More mdb to pdb checks update 2017-03-14 11:54:13 +01:00
Marek Safar cd73b0697b Update system Mono to 2017-02 2017-03-14 11:54:13 +01:00
Rolf Bjarne Kvinge 91ad0897fa Bump Xamarin Studio to get fix for bug #52648.
Bump Xamarin Studio to get fix for bug #52648 causing build failures.
2017-03-14 11:51:08 +01:00
Rolf Bjarne Kvinge 5ed7a58ff1 [tests][mac] Terminate test processes with extreme prejudice. Fixes #52604.
https://bugzilla.xamarin.com/show_bug.cgi?id=52604
2017-03-14 11:51:08 +01:00
Marek Safar 706ae6ac9e Updates mmp.csproj files path 2017-03-14 11:51:08 +01:00
Marek Safar d2d1b869b0 Bump linker 2017-03-14 11:51:08 +01:00
Marek Safar 46ee015acc Add missing reference 2017-03-14 11:51:08 +01:00
Marek Safar 50f4564b6b Bump maccore for mdoc path fix 2017-03-14 11:51:08 +01:00
Marek Safar 0913aece6c Revert "[linker] Inline BinaryCompatibility.TargetsAtLeast_Desktop_V4_5[_1] (#1518)"
This reverts commit e72b654890.

because it's no longer needed with latest mono
2017-03-14 11:51:08 +01:00
Marek Safar 0bad97749e Update monomac tuner 2017-03-14 11:51:08 +01:00
Marek Safar 6906d8948e Remove mdbrebase which is no longer needed (compiler does it now) 2017-03-14 11:51:08 +01:00
Marek Safar fbc3f2e3bb Mono branch name update 2017-03-14 11:51:08 +01:00
Marek Safar 60bf37efad Wire up configuration to MonoTouchSweepStep 2017-03-14 11:51:08 +01:00
Marek Safar 24f9d3a66b Bump linker 2017-03-14 11:51:08 +01:00
Marek Safar d0ea1589ee Updates mtouch.csproj 2017-03-14 11:51:08 +01:00
Marek Safar 258cbdda4b Adds pdb handling to mtouch 2017-03-14 11:51:08 +01:00
Marek Safar aceedd8683 Switch to Mono 2017-02 branch 2017-03-14 11:51:08 +01:00
Marek Safar 01f3133096 Fixes missing Mono.Security dependency 2017-03-14 11:47:06 +01:00
Marek Safar f2d61b67f3 [msbuild] Update few test expected debug symbols 2017-03-14 11:47:06 +01:00
Marek Safar 9a60036917 [tuner] Update System.Core rule 2017-03-14 11:47:06 +01:00
Marek Safar 741fc32f71 [msbuild] Update test to reflect Mono.Dynamic.Interpreter.dll removal 2017-03-14 11:47:06 +01:00
Marek Safar c51ba190f6 [mtouch] Copy pdb debug symbols when available 2017-03-14 11:47:06 +01:00
Marek Safar 2ca93a9de3 [linker] Update list of Facade assemblies 2017-03-14 11:47:06 +01:00
Marek Safar 4dc2abca76 Fixes mmp execution during build to use correct Mono.Cecil. For some reason setting MONO_PATH does not work 2017-03-14 11:47:06 +01:00
Marek Safar 01f0e67978 Update after another Cecil breaking change 2017-03-14 11:47:06 +01:00
Marek Safar e47eaff8d6 [msbuild] Remove smcs compiler overrides 2017-03-14 11:47:06 +01:00
Marek Safar 16ba9f1452 [build] Update debug symbols to pdb 2017-03-14 11:47:06 +01:00
Marek Safar 398935db61 Bump mono 2017-03-14 11:47:06 +01:00
Marek Safar 2c9c0ee90b [build] Add .NET Core open source key 2017-03-14 11:47:06 +01:00
Marek Safar ddb377b7ff [build] Register linker for submodule checks 2017-03-14 11:47:06 +01:00
Marek Safar 1020340ade Add netstandard to the build 2017-03-14 11:47:06 +01:00
Marek Safar 1d3ad5e8c2 Bump mono and linker submodule 2017-03-14 11:47:06 +01:00
Marek Safar 1e77e19aa1 Remove 4.x profile dependency 2017-03-14 11:47:06 +01:00
Marek Safar 1f606b58b3 Replace mdbrebase tool with pathmap and fix broken debug symbols mapping in public builds 2017-03-14 11:47:06 +01:00