155 references to CreateMSBuildWorkspace
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (155)
MSBuildWorkspaceTestBase.cs (7)
59using var workspace = CreateMSBuildWorkspace(); 68using var workspace = CreateMSBuildWorkspace(); 77using var workspace = CreateMSBuildWorkspace(); 86using var workspace = CreateMSBuildWorkspace(); 115using var workspace = CreateMSBuildWorkspace(); 138using var workspace = CreateMSBuildWorkspace(); 143=> CreateMSBuildWorkspace(throwOnWorkspaceFailed: true, skipUnrecognizedProjects: false, additionalProperties: additionalProperties);
NetCoreTests.cs (9)
79using var workspace = CreateMSBuildWorkspace(); 108using var workspace = CreateMSBuildWorkspace(); 148using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 191using var workspace = CreateMSBuildWorkspace(); 233using var workspace = CreateMSBuildWorkspace(); 281using var workspace = CreateMSBuildWorkspace(); 381using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false, skipUnrecognizedProjects: true); 475using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 496using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false);
NewlyCreatedProjectsFromDotNetNew.cs (1)
221using var workspace = CreateMSBuildWorkspace();
VisualStudioMSBuildWorkspaceTests.cs (138)
42using var workspace = CreateMSBuildWorkspace(); 57using var workspace = CreateMSBuildWorkspace(); 73using var workspace = CreateMSBuildWorkspace(); 98using var workspace = CreateMSBuildWorkspace(); 112using var workspace = CreateMSBuildWorkspace(); 145using var workspace = CreateMSBuildWorkspace(); 205using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 217using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 241using var workspace = CreateMSBuildWorkspace(); 256using var workspace = CreateMSBuildWorkspace(); 277using var workspace = CreateMSBuildWorkspace(); 295using var workspace = CreateMSBuildWorkspace(); 310using var workspace = CreateMSBuildWorkspace(); 333using var workspace = CreateMSBuildWorkspace(); 387using var workspace = CreateMSBuildWorkspace(); 432using var workspace = CreateMSBuildWorkspace(); 455using var workspace = CreateMSBuildWorkspace(); 489using var workspace = CreateMSBuildWorkspace(); 504using var workspace = CreateMSBuildWorkspace(); 518using var workspace = CreateMSBuildWorkspace(); 533using var workspace = CreateMSBuildWorkspace(); 548using var workspace = CreateMSBuildWorkspace(); 561using var workspace = CreateMSBuildWorkspace(); 573using var workspace = CreateMSBuildWorkspace(); 586using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 600using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 613using var workspace = CreateMSBuildWorkspace(); 628using var workspace = CreateMSBuildWorkspace(); 642using var workspace = CreateMSBuildWorkspace(); 657using var workspace = CreateMSBuildWorkspace(); 672using var workspace = CreateMSBuildWorkspace(); 686using var workspace = CreateMSBuildWorkspace(); 699using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 712using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 726using var workspace = CreateMSBuildWorkspace(); 741using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 786using var workspace = CreateMSBuildWorkspace(); 804using var workspace = CreateMSBuildWorkspace(); 822using var workspace = CreateMSBuildWorkspace(); 840using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 891using var workspace = CreateMSBuildWorkspace(); 909using var workspace = CreateMSBuildWorkspace(); 925using var workspace = CreateMSBuildWorkspace(); 936using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 948using var ws = CreateMSBuildWorkspace(); 982using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1005using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1018using var workspace = CreateMSBuildWorkspace(); 1032using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1047using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1062using var workspace = CreateMSBuildWorkspace(); 1077using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1090using var workspace = CreateMSBuildWorkspace(); 1105using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1125using var workspace = CreateMSBuildWorkspace(); 1196using var workspace = CreateMSBuildWorkspace(); 1209using var workspace = CreateMSBuildWorkspace(); 1221using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1238using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1250using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1269using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1283using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1303using var workspace = CreateMSBuildWorkspace(); 1321using var workspace = CreateMSBuildWorkspace(); 1344using var workspace = CreateMSBuildWorkspace(); 1366using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1389using var workspace = CreateMSBuildWorkspace(); 1410using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1433using var workspace = CreateMSBuildWorkspace(); 1466using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 1834using var workspace = CreateMSBuildWorkspace(); 1860using var workspace = CreateMSBuildWorkspace(); 1894using var workspace = CreateMSBuildWorkspace(); 1917using var workspace = CreateMSBuildWorkspace(); 1941using var workspace = CreateMSBuildWorkspace(); 1964using var workspace = CreateMSBuildWorkspace(); 1989using var workspace = CreateMSBuildWorkspace(); 2010using var workspace = CreateMSBuildWorkspace(); 2036using var workspaceB = CreateMSBuildWorkspace(); 2051using var workspace = CreateMSBuildWorkspace(); 2085using var workspace = CreateMSBuildWorkspace(); 2112using var workspace = CreateMSBuildWorkspace(); 2138using var workspace = CreateMSBuildWorkspace(); 2166using var workspace = CreateMSBuildWorkspace(); 2193using var workspace = CreateMSBuildWorkspace(); 2226using var workspace = CreateMSBuildWorkspace(); 2256using var workspace = CreateMSBuildWorkspace(); 2298using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2321using var workspace = CreateMSBuildWorkspace(); 2345using var workspace = CreateMSBuildWorkspace(); 2365using var workspace = CreateMSBuildWorkspace(); 2386using var workspace = CreateMSBuildWorkspace(); 2410using var workspace = CreateMSBuildWorkspace(); 2426using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2445using var workspace = CreateMSBuildWorkspace(); 2466using var workspace = CreateMSBuildWorkspace(); 2518using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2533using var workspace = CreateMSBuildWorkspace(); 2549using var workspace = CreateMSBuildWorkspace(); 2567using var workspace = CreateMSBuildWorkspace(); 2585using var workspace = CreateMSBuildWorkspace(); 2615using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2631using var workspace = CreateMSBuildWorkspace(); 2645using var workspace = CreateMSBuildWorkspace(); 2662using var workspace = CreateMSBuildWorkspace(); 2677using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2692using (var workspace = CreateMSBuildWorkspace()) 2698using (var workspace = CreateMSBuildWorkspace()) 2704using (var workspace = CreateMSBuildWorkspace()) 2724using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2750using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2775using var workspace = CreateMSBuildWorkspace(); 2791using var workspace = CreateMSBuildWorkspace(); 2810using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 2829using var workspace = CreateMSBuildWorkspace(); 2877using var workspace = CreateMSBuildWorkspace(); 2931using var workspace = CreateMSBuildWorkspace(); 2959using var workspace = CreateMSBuildWorkspace(); 2989using var workspace = CreateMSBuildWorkspace(); 3003using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3020using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3037using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3055using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3070using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3087using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3104using var workspace = CreateMSBuildWorkspace(); 3116using var workspace = CreateMSBuildWorkspace(); 3168using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3190using var workspace = CreateMSBuildWorkspace(); 3210using var workspace = CreateMSBuildWorkspace(throwOnWorkspaceFailed: false); 3236using var workspace = CreateMSBuildWorkspace(); 3259using var workspace = CreateMSBuildWorkspace(); 3273using var workspace = CreateMSBuildWorkspace(); 3287using var workspace = CreateMSBuildWorkspace(); 3305using var workspace = CreateMSBuildWorkspace(); 3324using var workspace = CreateMSBuildWorkspace(); 3337using var workspace = CreateMSBuildWorkspace(); 3350using var workspace = CreateMSBuildWorkspace();