xamarin-macios/tests/xharness/MacTarget.cs

24 строки
431 B
C#
Исходник Обычный вид История

2016-05-26 16:06:52 +03:00
using System;
namespace xharness
{
public class MacTarget : Target
{
protected override bool FixProjectReference (string name)
{
switch (name) {
case "GuiUnit_NET_4_5":
return false;
default:
return base.FixProjectReference (name);
}
}
2016-05-26 16:06:52 +03:00
public string SimplifiedName {
get {
return Name.EndsWith ("-mac", StringComparison.Ordinal) ? Name.Substring (0, Name.Length - 4) : Name;
}
}
}
}