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