From 27faa74dfed011c3e7d1bef5d0d79dc79c8efbed Mon Sep 17 00:00:00 2001 From: Bill Holmes Date: Fri, 8 Jul 2016 10:52:27 -0400 Subject: [PATCH] Fix building portable profile directory to be cross platform. --- src/Core/NETPortable/NetPortableProfileTable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/NETPortable/NetPortableProfileTable.cs b/src/Core/NETPortable/NetPortableProfileTable.cs index 74b68f6da..8d0d10a5c 100644 --- a/src/Core/NETPortable/NetPortableProfileTable.cs +++ b/src/Core/NETPortable/NetPortableProfileTable.cs @@ -117,7 +117,7 @@ internal static NetPortableProfileCollection BuildPortableProfileCollection() { foreach (string versionDir in Directory.EnumerateDirectories(portableRootDirectory, "v*", SearchOption.TopDirectoryOnly)) { - string profileFilesPath = versionDir + @"\Profile\"; + string profileFilesPath = Path.Combine(versionDir, "Profile"); profileCollection.AddRange(LoadProfilesFromFramework(versionDir, profileFilesPath)); } }