Exemple #1
0
 public FileFoundException(MSBuildResult result, string filePath)
     : base(result)
 {
     FilePath = filePath;
 }
Exemple #2
0
 public NupkgFileMissingException(MSBuildResult result, string nupkgPath, string filePath)
     : base(result)
 {
     NupkgPath = nupkgPath;
     FilePath  = filePath;
 }
Exemple #3
0
 public BuildOutputMissingException(MSBuildResult result, string match)
     : base(result)
 {
     Match = match;
 }
Exemple #4
0
 public BuildOutputContainsLineException(MSBuildResult result, string match)
     : base(result)
 {
     Match = match;
 }
Exemple #5
0
 public BuildPassedException(MSBuildResult result)
     : base(result)
 {
 }
Exemple #6
0
 public BuildFailedException(MSBuildResult result)
     : base(result)
 {
 }
Exemple #7
0
 public BuildErrorMissingException(MSBuildResult result, string errorCode, string location)
     : base(result)
 {
     ErrorCode = errorCode;
     Location  = location;
 }
Exemple #8
0
 protected MSBuildXunitException(MSBuildResult result)
 {
     Result = result;
 }
Exemple #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)));
 }