bool report_missing_assembly_in_manifest(const deps_entry_t& entry)
{
trace::error(_X(
- "Error: An assembly specified in the application dependencies manifest (%s) was not found:\n"
+ "Error:\n"
+ " An assembly specified in the application dependencies manifest (%s) was not found:\n"
" package: '%s', version: '%s'\n"
" path: '%s'"),
entry.deps_file.c_str(), entry.library_name.c_str(), entry.library_version.c_str(), entry.relative_path.c_str());
dotnet.Exec("exec", "--additional-deps", libDepsJson, appDll)
.CaptureStdErr()
.CaptureStdOut()
- .Execute(fExpectedToFail:true)
+ .Execute(fExpectedToFail: true)
.Should()
.Fail()
.And
- .HaveStdErrContaining("Error: assembly specified in the dependencies manifest was not found -- package: \'LightupLib\', version: \'1.0.0\', path: \'LightupLib.dll\'");
+ .HaveStdErrContaining(
+ "Error:" + Environment.NewLine +
+ " An assembly specified in the application dependencies manifest (LightupLib.deps.json) was not found:" + Environment.NewLine +
+ " package: \'LightupLib\', version: \'1.0.0\'" + Environment.NewLine +
+ " path: \'LightupLib.dll\'");
}
// Attempt to run the app with lightup deps.json specified and lightup library present in the expected