public static bool RunTestsThatDependOnWindowsShortPathBehavior_Workaround4241() { // Run these tests only when we're not on Windows return(!NativeMethodsShared.IsWindows || // OR we're on Windows and long paths aren't enabled // https://github.com/Microsoft/msbuild/issues/4241 NativeMethodsShared.IsMaxPathLegacyWindows()); }