Reacting to CLI breaking change

This commit is contained in:
Pranav K 2016-04-01 06:41:43 -07:00
parent 182cbc276c
commit 4788506b57
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace Microsoft.DotNet.Watcher.Core.Internal
if (File.Exists(projectLockJsonPath)) if (File.Exists(projectLockJsonPath))
{ {
var lockFile = LockFileReader.Read(projectLockJsonPath); var lockFile = LockFileReader.Read(projectLockJsonPath, designTime: false);
ProjectDependencies = lockFile.ProjectLibraries.Select(dep => GetProjectRelativeFullPath(dep.Path)).ToList(); ProjectDependencies = lockFile.ProjectLibraries.Select(dep => GetProjectRelativeFullPath(dep.Path)).ToList();
} }
else else