Revert "Revert "Reacting to CLI breaking change""
This reverts commit e74665e550.
This commit is contained in:
parent
e74665e550
commit
d1c52323f2
|
|
@ -26,7 +26,7 @@ namespace Microsoft.DotNet.Watcher.Core.Internal
|
|||
|
||||
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();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue