Updating SDk to 20170414
This commit is contained in:
parent
2b4992c56d
commit
bb4298ddc2
3 changed files with 5 additions and 4 deletions
|
@ -72,6 +72,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
|
|||
{
|
||||
var testAppName = "NewtonSoftDependentProject";
|
||||
var profileProjectName = "NewtonsoftProfile";
|
||||
var targetManifestFileName = "NewtonsoftFilterProfile.xml";
|
||||
|
||||
var testInstance = TestAssets.Get(testAppName)
|
||||
.CreateInstance()
|
||||
|
@ -80,7 +81,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
|
|||
|
||||
var testProjectDirectory = testInstance.Root.ToString();
|
||||
var profileProjectPath = TestAssets.Get(profileProjectName).Root.FullName;
|
||||
var profileFilter = Path.Combine(profileProjectPath, "NewtonsoftFilterProfile.xml");
|
||||
var profileFilter = Path.Combine(profileProjectPath, targetManifestFileName);
|
||||
|
||||
new RestoreCommand()
|
||||
.WithWorkingDirectory(testProjectDirectory)
|
||||
|
@ -101,7 +102,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
|
|||
new DotnetCommand()
|
||||
.ExecuteWithCapturedOutput(outputDll)
|
||||
.Should().Fail()
|
||||
.And.HaveStdErrContaining("assembly specified in the dependencies manifest was not found -- package: 'Newtonsoft.Json',");
|
||||
.And.HaveStdErrContaining($"Error: assembly specified in the dependencies manifest was not found probably due to missing runtime store associated with {targetManifestFileName} -- package: 'Newtonsoft.Json',");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue