Fix incorrect reference assembly path

This commit is contained in:
Troy Dai 2016-03-11 11:51:31 -08:00
parent 429625061d
commit 9df3a986d8

View file

@ -38,9 +38,9 @@ namespace Microsoft.Extensions.DependencyModel.Resolution
}
if (os == Platform.Darwin &&
fileSystem.Directory.Exists("/Library/Framework/Mono.Framework/Versions/Current/lib/mono/xbuild-frameworks"))
fileSystem.Directory.Exists("/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/xbuild-frameworks"))
{
return "/Library/Framework/Mono.Framework/Versions/Current/lib/mono/xbuild-frameworks";
return "/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/xbuild-frameworks";
}
if (fileSystem.Directory.Exists("/usr/local/lib/mono/xbuild-frameworks"))
@ -56,4 +56,4 @@ namespace Microsoft.Extensions.DependencyModel.Resolution
return null;
}
}
}
}