Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Commit

Permalink
Fixed slashes when reading lock file to populate assembly cache
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed May 22, 2015
1 parent 4bb7649 commit f8f3acc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,10 @@ public void Initialize(IEnumerable<LibraryDescription> packages, FrameworkName t

var assemblies = new List<string>();

foreach (var assemblyPath in targetLibrary.RuntimeAssemblies)
foreach (var runtimeAssemblyPath in targetLibrary.RuntimeAssemblies)
{
// Fix up the slashes to match the platform
var assemblyPath = runtimeAssemblyPath.Path.Replace('/', Path.DirectorySeparatorChar);
var name = Path.GetFileNameWithoutExtension(assemblyPath);
var path = Path.Combine(dependency.Path, assemblyPath);
var assemblyName = new AssemblyName(name);
Expand Down

0 comments on commit f8f3acc

Please sign in to comment.