public FileFoundException(MSBuildResult result, string filePath) : base(result) { FilePath = filePath; }
public NupkgFileMissingException(MSBuildResult result, string nupkgPath, string filePath) : base(result) { NupkgPath = nupkgPath; FilePath = filePath; }
public BuildOutputMissingException(MSBuildResult result, string match) : base(result) { Match = match; }
public BuildOutputContainsLineException(MSBuildResult result, string match) : base(result) { Match = match; }
public BuildPassedException(MSBuildResult result) : base(result) { }
public BuildFailedException(MSBuildResult result) : base(result) { }
public BuildErrorMissingException(MSBuildResult result, string errorCode, string location) : base(result) { ErrorCode = errorCode; Location = location; }
protected MSBuildXunitException(MSBuildResult result) { Result = result; }
private static BootJsonData ReadBootJsonData(MSBuildResult result, string path) { return(JsonSerializer.Deserialize <BootJsonData>( File.ReadAllText(Path.Combine(result.Project.DirectoryPath, path)), new JsonSerializerOptions(JsonSerializerDefaults.Web))); }