Skip to content

Commit c3b7a08

Browse files
committed
Remove unnecessary ignored diagnostics from wpf tests
1 parent 101d19b commit c3b7a08

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/Workspaces/MSBuildTest/OpenProjectsTests.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@ public async Task ValidateCSharpTemplateProjects(string templateName)
4040
[
4141
"CS0246", // The type or namespace name {'csharp_blazor_project'|'App'} could not be found (are you missing a using directive or an assembly reference?)
4242
],
43-
"wpf" =>
44-
[
45-
"CS5001", // Program does not contain a static 'Main' method suitable for an entry point
46-
"CS0103", // The name 'InitializeComponent' does not exist in the current context"
47-
],
48-
"wpfusercontrollib" =>
49-
[
50-
"CS0103", // The name 'InitializeComponent' does not exist in the current context"
51-
],
5243
_ => Array.Empty<string>(),
5344
};
5445

@@ -61,10 +52,6 @@ public async Task ValidateVisualBasicTemplateProjects(string templateName)
6152
{
6253
var ignoredDiagnostics = templateName switch
6354
{
64-
"wpf" =>
65-
[
66-
"BC30420", // 'Sub Main' was not found in 'visual_basic_wpf_project'.
67-
],
6855
_ => Array.Empty<string>(),
6956
};
7057

0 commit comments

Comments
 (0)