Make desktop publishing "half-portable" by default

This commit is contained in:
Pavel Krymets 2016-04-08 08:51:51 -07:00 committed by Andrew Stanton-Nurse
parent 6184943910
commit 2d3a1fd177
22 changed files with 256 additions and 49 deletions

View file

@ -16,4 +16,15 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
}
}
}
public class WindowsOnlyTheoryAttribute : TheoryAttribute
{
public WindowsOnlyTheoryAttribute()
{
if (PlatformServices.Default.Runtime.OperatingSystemPlatform != Platform.Windows)
{
this.Skip = "This test requires windows to run";
}
}
}
}