[WIP] Removes *3 verbs, making msbuild the driver (#4456)
Removes *3 verbs, making msbuild the driver
This commit is contained in:
parent
55c59d621e
commit
6fcbefa4f7
746 changed files with 4256 additions and 32434 deletions
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using FluentAssertions;
|
||||
using Microsoft.DotNet.Tools.Test.Utilities;
|
||||
|
@ -14,24 +15,20 @@ namespace Microsoft.DotNet.Tests
|
|||
public void UnresolvedPlatformReferencesFailAsExpected()
|
||||
{
|
||||
var testAssetsManager = GetTestGroupTestAssetsManager("NonRestoredTestProjects");
|
||||
|
||||
var testInstance = testAssetsManager.CreateTestInstance("TestProjectWithUnresolvedPlatformDependency");
|
||||
|
||||
new RestoreCommand()
|
||||
.WithWorkingDirectory(testInstance.TestRoot)
|
||||
.ExecuteWithCapturedOutput()
|
||||
.ExecuteWithCapturedOutput("/p:SkipInvalidConfigurations=true")
|
||||
.Should()
|
||||
.Fail();
|
||||
new DirectoryInfo(testInstance.TestRoot)
|
||||
.Should()
|
||||
.HaveFile("project.lock.json");
|
||||
|
||||
new DotnetCommand()
|
||||
.WithWorkingDirectory(testInstance.TestRoot)
|
||||
.ExecuteWithCapturedOutput("crash")
|
||||
.Should()
|
||||
.Fail()
|
||||
.And
|
||||
.HaveStdErrContaining("No executable found matching command \"dotnet-crash\"");
|
||||
.Should().Fail()
|
||||
.And.HaveStdErrContaining("No executable found matching command \"dotnet-crash\"");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue