コード例 #1
0
 private void ValidateRuntimeLibrariesFullClr(CommandResult result, string appname)
 {
     // entry assembly
     result.Should().HaveStdOutContaining($"Runtime {appname}:{appname}");
     // project dependency
     result.Should().HaveStdOutContaining("Runtime DependencyContextValidator:DependencyContextValidator");
 }
コード例 #2
0
 private void ValidateCompilationLibraries(CommandResult result, string appname)
 {
     // entry assembly
     result.Should().HaveStdOutContaining($"Compilation {appname}:{appname}.dll");
     // project dependency
     result.Should().HaveStdOutContaining("Compilation DependencyContextValidator:DependencyContextValidator.dll");
     // system assembly
     result.Should().HaveStdOutContaining("Compilation System.Linq:System.Linq.dll");
 }