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