We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a61f87 commit 0de5b5aCopy full SHA for 0de5b5a
src/Controls/tests/Xaml.UnitTests/MSBuild/MSBuildTests.cs
@@ -495,7 +495,7 @@ public void NoXamlFiles()
495
var projectFile = IOPath.Combine(tempDirectory, "test.csproj");
496
project.Save(projectFile);
497
var log = Build(projectFile, verbosity: "diagnostic");
498
- Assert.IsTrue(log.Contains("Target \"XamlC\" skipped", StringComparison.Ordinal), "XamlC should be skipped if there are no .xaml files.");
+ Assert.IsFalse(log.Contains("Building target \"XamlC\"", StringComparison.Ordinal), "XamlC should be skipped if there are no .xaml files.");
499
}
500
501
0 commit comments