remove nuget dependency in tests

This commit is contained in:
Bryan Thornbury 2016-09-21 21:23:50 -07:00
parent 8a420de736
commit a688885f21
5 changed files with 9 additions and 12 deletions

View file

@ -92,12 +92,6 @@ namespace Microsoft.DotNet.ProjectJsonMigration
var defaultProjectContext = projectContexts.First();
if (defaultProjectContext.LockFile == null)
{
MigrationErrorCodes.MIGRATE1012(
$"project.lock.json not found in {projectDirectory}, please run dotnet restore before doing migration").Throw();
}
var diagnostics = defaultProjectContext.ProjectFile.Diagnostics;
if (diagnostics.Any())
{