You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yieldreturnnewExample("Compare versions in Azure Pipelines as CI",newOptions{ReferenceAssembly="Assembly-1.0.0.dll",NewAssembly="Assembly-1.0.1.dll",AzurePipelines=true});
Console.WriteLine(string.Format("{0}Analyzer failed to run.",opts.AzurePipelines?"##vso[task.complete result=Failed]":string.Empty));
51
85
86
+
Environment.ExitCode=-1;
87
+
return;
88
+
}
89
+
}
52
90
}
53
-
else
54
-
{
55
-
if(!referenceFile.Exists)
56
-
Console.Error.WriteLine("Reference file '{0}' not found or inaccessible.",referenceFile.FullName);
57
-
if(!newFile.Exists)
58
-
Console.Error.WriteLine("New file '{0}' not found or inaccessible.",newFile.FullName);
59
-
}
91
+
92
+
}
93
+
else
94
+
{
95
+
if(!referenceFile.Exists)
96
+
Console.Error.WriteLine("{1}Reference file '{0}' not found or inaccessible.",referenceFile.FullName,opts.AzurePipelines?"##vso[task.logissue type=error]":string.Empty);
97
+
if(!newFile.Exists)
98
+
Console.Error.WriteLine("{1}New file '{0}' not found or inaccessible.",newFile.FullName,opts.AzurePipelines?"##vso[task.logissue type=error]":string.Empty);
99
+
Environment.ExitCode=2;
100
+
return;
60
101
}
61
-
#if DEBUG
62
-
Console.WriteLine("Done. Press any key to exit.");
yieldreturnnewExample("Compare versions in Azure Pipelines as CI",newOptions{ReferenceAssembly="Assembly-1.0.0.dll",NewAssembly="Assembly-1.0.1.dll",AzurePipelines=true});
Console.WriteLine(string.Format("{0}Analyzer failed to run.",opts.AzurePipelines?"##vso[task.complete result=Failed]":string.Empty));
51
84
85
+
Environment.ExitCode=-1;
86
+
return;
87
+
}
88
+
}
52
89
}
53
-
else
54
-
{
55
-
if(!referenceFile.Exists)
56
-
Console.Error.WriteLine("Reference file '{0}' not found or inaccessible.",referenceFile.FullName);
57
-
if(!newFile.Exists)
58
-
Console.Error.WriteLine("New file '{0}' not found or inaccessible.",newFile.FullName);
59
-
Environment.ExitCode=2;
60
-
}
90
+
91
+
}
92
+
else
93
+
{
94
+
if(!referenceFile.Exists)
95
+
Console.Error.WriteLine("{1}Reference file '{0}' not found or inaccessible.",referenceFile.FullName,opts.AzurePipelines?"##vso[task.logissue type=error]":string.Empty);
96
+
if(!newFile.Exists)
97
+
Console.Error.WriteLine("{1}New file '{0}' not found or inaccessible.",newFile.FullName,opts.AzurePipelines?"##vso[task.logissue type=error]":string.Empty);
98
+
Environment.ExitCode=2;
99
+
return;
61
100
}
62
-
#if DEBUG
63
-
Console.WriteLine("Done. Press any key to exit.");
0 commit comments