822 references to CleanupFileContents
Microsoft.Build.CommandLine.UnitTests (37)
XMake_BinlogSwitch_Tests.cs (11)
41
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
60
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
81
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
107
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
134
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
158
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
178
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
197
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
217
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
233
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
283
string content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Hello'/></Target></Project>");
XMake_Tests.cs (26)
70
return ObjectModelHelpers.
CleanupFileContents
($"<Project>\n"
1193
string projectString = ObjectModelHelpers.
CleanupFileContents
(
1352
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1394
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1411
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1432
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1469
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1504
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1529
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1548
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1566
var content = ObjectModelHelpers.
CleanupFileContents
("<Project><Target Name='t'><Message Text='Completed'/></Target></Project>");
1584
string content = ObjectModelHelpers.
CleanupFileContents
("<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace'><Target Name='t'><Warning Text='[A=$(A)]'/></Target></Project>");
1603
var content = ObjectModelHelpers.
CleanupFileContents
(
1643
string contents = ObjectModelHelpers.
CleanupFileContents
(@"
2409
string projectContents = ObjectModelHelpers.
CleanupFileContents
($@"<Project>
2444
string projectContents = ObjectModelHelpers.
CleanupFileContents
($@"<Project>
2491
string projectContents = ObjectModelHelpers.
CleanupFileContents
($@"<Project>
2537
string projectContents = ObjectModelHelpers.
CleanupFileContents
(
2556
string projectContents = ObjectModelHelpers.
CleanupFileContents
(
2581
string projectContents = ObjectModelHelpers.
CleanupFileContents
($@"<Project>
2719
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"<Project>
2738
var testProject = _env.CreateFile("Importer.proj", ObjectModelHelpers.
CleanupFileContents
(@"
2888
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@$"<Project>
2928
var testSolution = _env.CreateFile("TestSolution.sln", ObjectModelHelpers.
CleanupFileContents
(solutionFileContents));
2995
string projectContents = ObjectModelHelpers.
CleanupFileContents
("""
3085
string projectContents = ObjectModelHelpers.
CleanupFileContents
(
Microsoft.Build.Engine.OM.UnitTests (277)
Construction\ConstructionEditing_Tests.cs (62)
33
string expected = ObjectModelHelpers.
CleanupFileContents
(
61
string expected = ObjectModelHelpers.
CleanupFileContents
(
83
string expected = ObjectModelHelpers.
CleanupFileContents
(
374
string expected = ObjectModelHelpers.
CleanupFileContents
(
397
string expected = ObjectModelHelpers.
CleanupFileContents
(
416
string expected = ObjectModelHelpers.
CleanupFileContents
(
443
string expected = ObjectModelHelpers.
CleanupFileContents
(
472
string expected = ObjectModelHelpers.
CleanupFileContents
(
495
string expected = ObjectModelHelpers.
CleanupFileContents
(
519
string expected = ObjectModelHelpers.
CleanupFileContents
(
547
string expected = ObjectModelHelpers.
CleanupFileContents
(
568
string expected = ObjectModelHelpers.
CleanupFileContents
(
591
string expected = ObjectModelHelpers.
CleanupFileContents
(
612
string expected = ObjectModelHelpers.
CleanupFileContents
(
684
string expected = ObjectModelHelpers.
CleanupFileContents
(
712
string expected = ObjectModelHelpers.
CleanupFileContents
(
751
string expected = ObjectModelHelpers.
CleanupFileContents
(
1094
string expected = ObjectModelHelpers.
CleanupFileContents
(
1123
string expected = ObjectModelHelpers.
CleanupFileContents
(
1178
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<Project ToolsVersion=""msbuilddefaulttoolsversion"" xmlns=""msbuildnamespace"" />");
1313
string expected = ObjectModelHelpers.
CleanupFileContents
(
1338
string expected = ObjectModelHelpers.
CleanupFileContents
(
1362
string expected = ObjectModelHelpers.
CleanupFileContents
(
1418
string expected = ObjectModelHelpers.
CleanupFileContents
(
1444
string expected = ObjectModelHelpers.
CleanupFileContents
(
1467
string expected = ObjectModelHelpers.
CleanupFileContents
(
1488
string expected = ObjectModelHelpers.
CleanupFileContents
(
1508
string expected = ObjectModelHelpers.
CleanupFileContents
(
1530
string expected = ObjectModelHelpers.
CleanupFileContents
(
1561
string expected = ObjectModelHelpers.
CleanupFileContents
(
1584
string expected = ObjectModelHelpers.
CleanupFileContents
(
1602
string expected = ObjectModelHelpers.
CleanupFileContents
(
1622
string expected = ObjectModelHelpers.
CleanupFileContents
(
1643
string expected = ObjectModelHelpers.
CleanupFileContents
(
1665
string expected = ObjectModelHelpers.
CleanupFileContents
(
1684
string expected = ObjectModelHelpers.
CleanupFileContents
(
1705
string expected = ObjectModelHelpers.
CleanupFileContents
(
1727
string expected = ObjectModelHelpers.
CleanupFileContents
(
1751
string expected = ObjectModelHelpers.
CleanupFileContents
(
1777
string expected = ObjectModelHelpers.
CleanupFileContents
(
1803
string expected = ObjectModelHelpers.
CleanupFileContents
(
1831
string expected = ObjectModelHelpers.
CleanupFileContents
(
1854
string expected = ObjectModelHelpers.
CleanupFileContents
(
1883
string expected = ObjectModelHelpers.
CleanupFileContents
(
1911
string expected = ObjectModelHelpers.
CleanupFileContents
(
1943
string expected = ObjectModelHelpers.
CleanupFileContents
(
1979
string expected = ObjectModelHelpers.
CleanupFileContents
(
2006
string expected = ObjectModelHelpers.
CleanupFileContents
(
2028
string expected = ObjectModelHelpers.
CleanupFileContents
(
2051
string expected = ObjectModelHelpers.
CleanupFileContents
(
2074
string expected = ObjectModelHelpers.
CleanupFileContents
(
2098
string expected = ObjectModelHelpers.
CleanupFileContents
(
2121
string expected = ObjectModelHelpers.
CleanupFileContents
(
2143
string expected = ObjectModelHelpers.
CleanupFileContents
(
2166
string expected = ObjectModelHelpers.
CleanupFileContents
(
2189
string expected = ObjectModelHelpers.
CleanupFileContents
(
2213
string expected = ObjectModelHelpers.
CleanupFileContents
(
2237
string expected = ObjectModelHelpers.
CleanupFileContents
(
2315
var projectFileContents = ObjectModelHelpers.
CleanupFileContents
(
2341
var content = ObjectModelHelpers.
CleanupFileContents
(
3123
string expected = ObjectModelHelpers.
CleanupFileContents
(
3198
return ObjectModelHelpers.
CleanupFileContents
(string.Format(expected, expectedItem));
Construction\ProjectFormatting_Tests.cs (28)
51
string content = ObjectModelHelpers.
CleanupFileContents
(@"
60
string reformattedContent = ObjectModelHelpers.
CleanupFileContents
(@"
78
string content = ObjectModelHelpers.
CleanupFileContents
(@"
87
string reformattedContent = ObjectModelHelpers.
CleanupFileContents
(@"
103
string content = ObjectModelHelpers.
CleanupFileContents
(@"
122
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-16""?>
139
string content = ObjectModelHelpers.
CleanupFileContents
(@"
158
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-16""?>
175
string content = ObjectModelHelpers.
CleanupFileContents
(@"
193
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-16""?>
209
string content = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-8""?>
225
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-8""?>
240
string content = ObjectModelHelpers.
CleanupFileContents
(@"
254
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-16""?>
269
string content = ObjectModelHelpers.
CleanupFileContents
(@"
292
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-16""?>
308
string content = ObjectModelHelpers.
CleanupFileContents
(@"
331
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-16""?>
350
string content = ObjectModelHelpers.
CleanupFileContents
(@"
497
string content = ObjectModelHelpers.
CleanupFileContents
(@"
512
string content = ObjectModelHelpers.
CleanupFileContents
(@"
526
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-8""?>
552
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<Project>
575
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<Project>
596
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=`1.0` encoding=`utf-16`?>
619
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-8""?>
643
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<Project>
685
content = ObjectModelHelpers.
CleanupFileContents
(content);
Construction\ProjectMetadataElement_Tests.cs (16)
558
ObjectModelHelpers.
CleanupFileContents
(projectContents),
586
ObjectModelHelpers.
CleanupFileContents
(updatedProject);
602
ObjectModelHelpers.
CleanupFileContents
(projectContents),
629
ObjectModelHelpers.
CleanupFileContents
(@"
676
ObjectModelHelpers.
CleanupFileContents
(projectContents),
703
ObjectModelHelpers.
CleanupFileContents
(updatedProject);
719
ObjectModelHelpers.
CleanupFileContents
(projectContents),
746
ObjectModelHelpers.
CleanupFileContents
(@"
832
ObjectModelHelpers.
CleanupFileContents
(updatedProject);
895
ObjectModelHelpers.
CleanupFileContents
(updatedProject);
964
ObjectModelHelpers.
CleanupFileContents
(updatedProject);
1007
ObjectModelHelpers.
CleanupFileContents
(@"
1076
ObjectModelHelpers.
CleanupFileContents
(updatedProject);
1116
ObjectModelHelpers.
CleanupFileContents
(@"
1194
ObjectModelHelpers.
CleanupFileContents
(updatedProject);
1241
ObjectModelHelpers.
CleanupFileContents
(@"
Construction\ProjectPropertyGroupElement_Tests.cs (3)
33
string content = ObjectModelHelpers.
CleanupFileContents
(@"
52
string content = ObjectModelHelpers.
CleanupFileContents
(@"
116
string expected = ObjectModelHelpers.
CleanupFileContents
(
Construction\ProjectRootElement_Tests.cs (21)
578
string expected = ObjectModelHelpers.
CleanupFileContents
(
607
string expected = ObjectModelHelpers.
CleanupFileContents
(
704
using ProjectRootElementFromString projectRootElementFromStringUTF16 = new(ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-16""?>
710
using ProjectRootElementFromString projectRootElementFromStringUTF8 = new(ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""utf-8""?>
716
using ProjectRootElementFromString projectRootElementFromStringASCII = new(ObjectModelHelpers.
CleanupFileContents
(@"<?xml version=""1.0"" encoding=""us-ascii""?>
755
using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
785
string content = ObjectModelHelpers.
CleanupFileContents
(
843
string content = ObjectModelHelpers.
CleanupFileContents
(
1270
using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.
CleanupFileContents
(project));
1293
ObjectModelHelpers.
CleanupFileContents
(project),
1342
using var xmlReader = XmlReader.Create(new StringReader(ObjectModelHelpers.
CleanupFileContents
(SimpleProject)));
1535
var initialProjectContents = ObjectModelHelpers.
CleanupFileContents
(
1550
var changedProjectContents1 = ObjectModelHelpers.
CleanupFileContents
(
1567
var changedProjectContents2 = ObjectModelHelpers.
CleanupFileContents
(
1742
File.WriteAllText(initialLocation, ObjectModelHelpers.
CleanupFileContents
(SimpleProject));
1752
using var xmlReader = XmlReader.Create(new StringReader(ObjectModelHelpers.
CleanupFileContents
(ComplexProject)));
1758
File.WriteAllText(reloadLocation, ObjectModelHelpers.
CleanupFileContents
(ComplexProject));
1843
XmlReader.Create(new StringReader(ObjectModelHelpers.
CleanupFileContents
(c))),
1865
act(projectElement, ObjectModelHelpers.
CleanupFileContents
(changedContents));
1965
writer.Write(ObjectModelHelpers.
CleanupFileContents
(EmptyProject));
1974
string content = ObjectModelHelpers.
CleanupFileContents
(ComplexProject);
Construction\WhiteSpacePreservation_Tests.cs (2)
466
var expected = ObjectModelHelpers.
CleanupFileContents
(updatedProject);
472
File.WriteAllText(file, ObjectModelHelpers.
CleanupFileContents
(projectContents));
Definition\DefinitionEditing_Tests.cs (67)
152
string expected = ObjectModelHelpers.
CleanupFileContents
(
179
string expected = ObjectModelHelpers.
CleanupFileContents
(
209
string expected = ObjectModelHelpers.
CleanupFileContents
(
246
string expected = ObjectModelHelpers.
CleanupFileContents
(
349
string expected = ObjectModelHelpers.
CleanupFileContents
(
373
string expected = ObjectModelHelpers.
CleanupFileContents
(
398
string expected = ObjectModelHelpers.
CleanupFileContents
(
424
string expected = ObjectModelHelpers.
CleanupFileContents
(
450
string expected = ObjectModelHelpers.
CleanupFileContents
(
474
string expected = ObjectModelHelpers.
CleanupFileContents
(
499
string expected = ObjectModelHelpers.
CleanupFileContents
(
531
string expected = ObjectModelHelpers.
CleanupFileContents
(
561
string expected = ObjectModelHelpers.
CleanupFileContents
(
590
string expected = ObjectModelHelpers.
CleanupFileContents
(
618
string expected = ObjectModelHelpers.
CleanupFileContents
(
645
string expected = ObjectModelHelpers.
CleanupFileContents
(
678
ObjectModelHelpers.
CleanupFileContents
(
708
var content = ObjectModelHelpers.
CleanupFileContents
(
722
string expected = ObjectModelHelpers.
CleanupFileContents
(
747
var content = ObjectModelHelpers.
CleanupFileContents
(
763
string expected = ObjectModelHelpers.
CleanupFileContents
(
799
ObjectModelHelpers.
CleanupFileContents
(
834
string expected = ObjectModelHelpers.
CleanupFileContents
(
862
string expected = ObjectModelHelpers.
CleanupFileContents
(
987
var content = ObjectModelHelpers.
CleanupFileContents
(
1003
string expected = ObjectModelHelpers.
CleanupFileContents
(
1035
string expected = ObjectModelHelpers.
CleanupFileContents
(
1064
string expected = ObjectModelHelpers.
CleanupFileContents
(
1104
ObjectModelHelpers.
CleanupFileContents
(
1177
string expected = ObjectModelHelpers.
CleanupFileContents
(
1221
string expected = ObjectModelHelpers.
CleanupFileContents
(
1245
expected = ObjectModelHelpers.
CleanupFileContents
(
1270
string expected = ObjectModelHelpers.
CleanupFileContents
(
1306
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<Project ToolsVersion=""msbuilddefaulttoolsversion"" xmlns=""msbuildnamespace"" />");
1322
var content = ObjectModelHelpers.
CleanupFileContents
(
1337
string expected = ObjectModelHelpers.
CleanupFileContents
(
1365
string expected = ObjectModelHelpers.
CleanupFileContents
(
1400
ObjectModelHelpers.
CleanupFileContents
(
1425
var content = ObjectModelHelpers.
CleanupFileContents
(
1475
string expected = ObjectModelHelpers.
CleanupFileContents
(
1500
string expected = ObjectModelHelpers.
CleanupFileContents
(
1824
string expected = ObjectModelHelpers.
CleanupFileContents
(@"<Project ToolsVersion=""msbuilddefaulttoolsversion"" xmlns=""msbuildnamespace"" />");
1847
string expected = ObjectModelHelpers.
CleanupFileContents
(
1869
string expected = ObjectModelHelpers.
CleanupFileContents
(
1897
string expected = ObjectModelHelpers.
CleanupFileContents
(
1927
string expected = ObjectModelHelpers.
CleanupFileContents
(
1974
string expected = ObjectModelHelpers.
CleanupFileContents
(
1996
var content = ObjectModelHelpers.
CleanupFileContents
(
2016
string expected = ObjectModelHelpers.
CleanupFileContents
(
2051
string expected = ObjectModelHelpers.
CleanupFileContents
(
2076
string expected = ObjectModelHelpers.
CleanupFileContents
(
2103
string expected = ObjectModelHelpers.
CleanupFileContents
(
2133
string expected = ObjectModelHelpers.
CleanupFileContents
(
2170
string expected = ObjectModelHelpers.
CleanupFileContents
(
2270
string expected = ObjectModelHelpers.
CleanupFileContents
(
2294
string expected = ObjectModelHelpers.
CleanupFileContents
(
2319
string expected = ObjectModelHelpers.
CleanupFileContents
(
2345
string expected = ObjectModelHelpers.
CleanupFileContents
(
2371
string expected = ObjectModelHelpers.
CleanupFileContents
(
2395
string expected = ObjectModelHelpers.
CleanupFileContents
(
2420
string expected = ObjectModelHelpers.
CleanupFileContents
(
2448
string expected = ObjectModelHelpers.
CleanupFileContents
(
2478
string expected = ObjectModelHelpers.
CleanupFileContents
(
2507
string expected = ObjectModelHelpers.
CleanupFileContents
(
2535
string expected = ObjectModelHelpers.
CleanupFileContents
(
2562
string expected = ObjectModelHelpers.
CleanupFileContents
(
2579
projectContents = ObjectModelHelpers.
CleanupFileContents
(projectContents);
Definition\Project_Tests.cs (37)
92
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
127
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
155
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
227
File.WriteAllText(file, ObjectModelHelpers.
CleanupFileContents
(@"<Project xmlns='msbuildnamespace'/>"));
305
string emptyProject = ObjectModelHelpers.
CleanupFileContents
(@"<Project ToolsVersion=""msbuilddefaulttoolsversion"" xmlns=""msbuildnamespace""/>");
558
string importContent = ObjectModelHelpers.
CleanupFileContents
(@"
573
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
634
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
669
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
703
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"<Project xmlns='msbuildnamespace'>
738
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
774
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
1428
var importProjectContents = ObjectModelHelpers.
CleanupFileContents
(
1470
var importProjectContents = ObjectModelHelpers.
CleanupFileContents
(
1485
var changedImportContents = ObjectModelHelpers.
CleanupFileContents
(
1556
var projectContents = ObjectModelHelpers.
CleanupFileContents
(
1571
var changedProjectContents = ObjectModelHelpers.
CleanupFileContents
(
1839
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1867
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1903
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1940
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1992
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2021
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2089
ObjectModelHelpers.
CleanupFileContents
(@"<Project xmlns='msbuildnamespace'>
2096
ObjectModelHelpers.
CleanupFileContents
(@"<Project xmlns='msbuildnamespace'>
2181
string contents = ObjectModelHelpers.
CleanupFileContents
(@"<Project xmlns='msbuildnamespace'/>");
2212
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2235
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2257
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2279
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2306
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2323
string projectExpectedContents = ObjectModelHelpers.
CleanupFileContents
(@"
2342
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2395
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2650
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
2695
string projectOriginalContents = ObjectModelHelpers.
CleanupFileContents
(@"
4430
string projectFileContent = ObjectModelHelpers.
CleanupFileContents
(@"
Definition\ProjectCollection_Tests.cs (1)
1153
string content = ObjectModelHelpers.
CleanupFileContents
(@"
Definition\ProjectItem_Tests.cs (1)
934
content = ObjectModelHelpers.
CleanupFileContents
(content);
Definition\ProjectItemDefinition_Tests.cs (20)
37
string expected = ObjectModelHelpers.
CleanupFileContents
(
168
ObjectModelHelpers.
CleanupFileContents
(
198
ObjectModelHelpers.
CleanupFileContents
(
232
ObjectModelHelpers.
CleanupFileContents
(
258
ObjectModelHelpers.
CleanupFileContents
(
285
ObjectModelHelpers.
CleanupFileContents
(
313
ObjectModelHelpers.
CleanupFileContents
(
344
ObjectModelHelpers.
CleanupFileContents
(
374
ObjectModelHelpers.
CleanupFileContents
(
402
ObjectModelHelpers.
CleanupFileContents
(
431
ObjectModelHelpers.
CleanupFileContents
(
475
ObjectModelHelpers.
CleanupFileContents
(
497
ObjectModelHelpers.
CleanupFileContents
(
519
ObjectModelHelpers.
CleanupFileContents
(
541
ObjectModelHelpers.
CleanupFileContents
(
563
ObjectModelHelpers.
CleanupFileContents
(
585
ObjectModelHelpers.
CleanupFileContents
(
607
ObjectModelHelpers.
CleanupFileContents
(
629
ObjectModelHelpers.
CleanupFileContents
(
648
ObjectModelHelpers.
CleanupFileContents
(
Definition\ProjectMetadata_Tests.cs (13)
41
string content = ObjectModelHelpers.
CleanupFileContents
(@"
67
string expected = ObjectModelHelpers.
CleanupFileContents
(@"
145
string content = ObjectModelHelpers.
CleanupFileContents
(@"
174
string content = ObjectModelHelpers.
CleanupFileContents
(@"
201
string content = ObjectModelHelpers.
CleanupFileContents
(@"
227
string content = ObjectModelHelpers.
CleanupFileContents
(@"
255
string content = ObjectModelHelpers.
CleanupFileContents
(@"
287
string content = ObjectModelHelpers.
CleanupFileContents
(@"
320
string content = ObjectModelHelpers.
CleanupFileContents
(@"
350
string content = ObjectModelHelpers.
CleanupFileContents
(@"
383
string content = ObjectModelHelpers.
CleanupFileContents
(@"
414
string content = ObjectModelHelpers.
CleanupFileContents
(@"
483
string projectString = ObjectModelHelpers.
CleanupFileContents
(@"<Project DefaultTargets=""Build"" ToolsVersion=""msbuilddefaulttoolsversion"" xmlns=""msbuildnamespace"">
Instance\ProjectInstance_Tests.cs (2)
628
File.WriteAllText(projectA, ObjectModelHelpers.
CleanupFileContents
(contentsA));
629
File.WriteAllText(projectB, ObjectModelHelpers.
CleanupFileContents
(contentsB));
ObjectModelRemoting\Helpers\TestCollectionGroup.cs (2)
15
public static string SampleProjectFile = ObjectModelHelpers.
CleanupFileContents
(@"
39
public static string BigProjectFile = ObjectModelHelpers.
CleanupFileContents
(@"
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
170
content = ObjectModelHelpers.
CleanupFileContents
(content);
TransientIO.cs (1)
107
content = ObjectModelHelpers.
CleanupFileContents
(content);
Microsoft.Build.Engine.UnitTests (477)
BackEnd\BatchingEngine_Tests.cs (1)
487
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(content));
BackEnd\BuildManager_Logging_Tests.cs (2)
98
var cleanedUpChildContents =
CleanupFileContents
(_childProjectWithCustomBuildEvent);
102
var cleanedUpMainContents =
CleanupFileContents
(string.Format(_mainProject, child1ProjectPath));
BackEnd\BuildManager_Tests.cs (103)
122
string contents =
CleanupFileContents
(@"
239
string contents =
CleanupFileContents
(@"
442
Project project = CreateProject(
CleanupFileContents
(contents), MSBuildDefaultToolsVersion, _projectCollection, false);
492
Project project = CreateProject(
CleanupFileContents
(contents), MSBuildDefaultToolsVersion,
554
string contents =
CleanupFileContents
(@"
594
string contents =
CleanupFileContents
(@"
634
string contents =
CleanupFileContents
(@"
682
string contents =
CleanupFileContents
(@"
743
string contents =
CleanupFileContents
($@"
752
string projectContents =
CleanupFileContents
(@"
817
string contents =
CleanupFileContents
(@"
861
string contents =
CleanupFileContents
(@"
916
string contents =
CleanupFileContents
(@"
950
string contents =
CleanupFileContents
(@"
966
string contents =
CleanupFileContents
(@"
1032
string contents =
CleanupFileContents
(@"
1066
string contents =
CleanupFileContents
(@"
1148
string contents =
CleanupFileContents
(@"
1265
string contents =
CleanupFileContents
(@"
1290
string contents =
CleanupFileContents
(@"
1321
string contents =
CleanupFileContents
(@"
1329
string contents2 =
CleanupFileContents
(@"
1357
string contents =
CleanupFileContents
(@"
1366
string contents2 =
CleanupFileContents
(@"
1399
string contents =
CleanupFileContents
(@"
1433
string contents =
CleanupFileContents
(@"
1481
string contents =
CleanupFileContents
(@"
1501
string contents =
CleanupFileContents
(@"
1527
string contents =
CleanupFileContents
(@"
1582
string contents =
CleanupFileContents
(@"
1621
string contents =
CleanupFileContents
(@"
1659
string contents =
CleanupFileContents
(@"
1697
string contents =
CleanupFileContents
(@"
1734
string contents =
CleanupFileContents
(@$"
1767
string contents =
CleanupFileContents
(@"
1796
string contents =
CleanupFileContents
(@"
1831
string contents =
CleanupFileContents
(@"
1869
string contents =
CleanupFileContents
(@"
1892
string contents =
CleanupFileContents
(@"
1912
string contents =
CleanupFileContents
(@"
1938
string contents =
CleanupFileContents
(@"
1970
string contents =
CleanupFileContents
(@"
2011
string contents1 =
CleanupFileContents
($@"
2023
string contents2 =
CleanupFileContents
(@"
2080
string contents1 =
CleanupFileContents
(@"
2087
string contents2 =
CleanupFileContents
(@"
2150
string contents =
CleanupFileContents
(@"
2183
string contents =
CleanupFileContents
(@"
2211
string contents =
CleanupFileContents
(@"
2241
string contents =
CleanupFileContents
(@"
2302
string contents =
CleanupFileContents
(@"
2408
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
2409
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
2469
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
2470
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
2527
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
2528
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
2576
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
2577
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
2732
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
2733
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
2734
File.WriteAllText(projC,
CleanupFileContents
(contentsC));
2829
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
2830
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
2831
File.WriteAllText(projC,
CleanupFileContents
(contentsC));
2929
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
2930
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
2931
File.WriteAllText(projC,
CleanupFileContents
(contentsC));
3015
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
3016
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
3017
File.WriteAllText(projC,
CleanupFileContents
(contentsC));
3087
File.WriteAllText(projA,
CleanupFileContents
(contentsA));
3088
File.WriteAllText(projB,
CleanupFileContents
(contentsB));
3120
File.WriteAllText(projectPath1,
CleanupFileContents
(projectContent));
3125
File.WriteAllText(projectPath2,
CleanupFileContents
(projectContent));
3188
File.WriteAllText(projectPath1,
CleanupFileContents
(projectContent1));
3203
File.WriteAllText(projectPath2,
CleanupFileContents
(projectContent2));
3273
File.WriteAllText(projectPath1,
CleanupFileContents
(projectContent1));
3288
File.WriteAllText(projectPath2,
CleanupFileContents
(projectContent2));
3343
string contents =
CleanupFileContents
(@"
3399
string contents =
CleanupFileContents
(@"
3428
string contents =
CleanupFileContents
(@"
3458
string contents =
CleanupFileContents
(@"
3496
BuildRequestData data = GetBuildRequestData(
CleanupFileContents
(@"<Project xmlns='msbuildnamespace' ToolsVersion='msbuilddefaulttoolsversion'><Target Name='test'/></Project>"));
3511
BuildRequestData data = GetBuildRequestData(
CleanupFileContents
(@"<Project xmlns='msbuildnamespace' ToolsVersion='msbuilddefaulttoolsversion'><Target Name='test'/></Project>"));
3525
BuildRequestData data = GetBuildRequestData(
CleanupFileContents
(@"<Project xmlns='msbuildnamespace' ToolsVersion='msbuilddefaulttoolsversion'><Target Name='test'/></Project>"));
3536
string contents =
CleanupFileContents
(@"
3835
var cleanedUpP2pContents =
CleanupFileContents
(p2pProject);
3839
var cleanedUpMainContents =
CleanupFileContents
(string.Format(mainProject, p2pProjectPath));
3892
File.WriteAllText(importPath,
CleanupFileContents
(importProject));
3991
var cleanedUpChildContents =
CleanupFileContents
(childProject);
3996
var cleanedUpMainContents =
CleanupFileContents
(string.Format(mainProject, child1ProjectPath, child2ProjectPath));
4197
string contents =
CleanupFileContents
(@"
4230
File.WriteAllText(project1,
CleanupFileContents
($@"
4241
File.WriteAllText(project2,
CleanupFileContents
(@"
4272
File.WriteAllText(project1,
CleanupFileContents
($@"
4284
File.WriteAllText(project2,
CleanupFileContents
(@"
4289
File.WriteAllText(project3,
CleanupFileContents
(@"
4313
File.WriteAllText(project1,
CleanupFileContents
($@"
4324
File.WriteAllText(project2,
CleanupFileContents
(@"
4356
File.WriteAllText(project1,
CleanupFileContents
($@"
4367
File.WriteAllText(project2,
CleanupFileContents
($@"
4440
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"<Project>
BackEnd\BuildRequestConfiguration_Tests.cs (4)
185
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace' />"));
263
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
320
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
426
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
BackEnd\BuildRequestEngine_Tests.cs (1)
236
string content = ObjectModelHelpers.
CleanupFileContents
(@"
BackEnd\ConfigurationMetadata_Tests.cs (1)
144
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
BackEnd\IntrinsicTask_Tests.cs (135)
30
string content = ObjectModelHelpers.
CleanupFileContents
(@"
51
string content = ObjectModelHelpers.
CleanupFileContents
(@"
70
string content = ObjectModelHelpers.
CleanupFileContents
(@"
88
string content = ObjectModelHelpers.
CleanupFileContents
(@"
106
string content = ObjectModelHelpers.
CleanupFileContents
(
122
string content = ObjectModelHelpers.
CleanupFileContents
(
144
string content = ObjectModelHelpers.
CleanupFileContents
(
161
string content = ObjectModelHelpers.
CleanupFileContents
(
178
var content = ObjectModelHelpers.
CleanupFileContents
(
195
content = ObjectModelHelpers.
CleanupFileContents
(
215
var content = ObjectModelHelpers.
CleanupFileContents
(
235
string content = ObjectModelHelpers.
CleanupFileContents
(@"
279
string content = ObjectModelHelpers.
CleanupFileContents
(@"
299
string content = ObjectModelHelpers.
CleanupFileContents
(@"
319
string content = ObjectModelHelpers.
CleanupFileContents
("""
340
string content = ObjectModelHelpers.
CleanupFileContents
(@"
360
string content = ObjectModelHelpers.
CleanupFileContents
(@"
381
string content = ObjectModelHelpers.
CleanupFileContents
(@"
405
string content = ObjectModelHelpers.
CleanupFileContents
(@"
430
string content = ObjectModelHelpers.
CleanupFileContents
(@"
452
string content = ObjectModelHelpers.
CleanupFileContents
(@"
479
string content = ObjectModelHelpers.
CleanupFileContents
(@"
505
string content = ObjectModelHelpers.
CleanupFileContents
(@"
531
string content = ObjectModelHelpers.
CleanupFileContents
(@"
560
string content = ObjectModelHelpers.
CleanupFileContents
(@"
582
string content = ObjectModelHelpers.
CleanupFileContents
(@"
608
string content = ObjectModelHelpers.
CleanupFileContents
(@"
634
string content = ObjectModelHelpers.
CleanupFileContents
(@"
665
string content = ObjectModelHelpers.
CleanupFileContents
(@"
689
string content = ObjectModelHelpers.
CleanupFileContents
(@"
708
string content = ObjectModelHelpers.
CleanupFileContents
(@"
735
string content = ObjectModelHelpers.
CleanupFileContents
(@"
759
string content = ObjectModelHelpers.
CleanupFileContents
(@"
775
string content = ObjectModelHelpers.
CleanupFileContents
(@"
793
string content = ObjectModelHelpers.
CleanupFileContents
(@"
808
string content = ObjectModelHelpers.
CleanupFileContents
(@"
830
string content = ObjectModelHelpers.
CleanupFileContents
(@"
853
string content = ObjectModelHelpers.
CleanupFileContents
(@"
875
string content = ObjectModelHelpers.
CleanupFileContents
(@"
902
var content = ObjectModelHelpers.
CleanupFileContents
(
919
content = ObjectModelHelpers.
CleanupFileContents
(
940
var content = ObjectModelHelpers.
CleanupFileContents
(
964
string content = ObjectModelHelpers.
CleanupFileContents
(@"
987
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1010
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1043
string content = ObjectModelHelpers.
CleanupFileContents
(
1076
var content = ObjectModelHelpers.
CleanupFileContents
(
1104
string content = ObjectModelHelpers.
CleanupFileContents
(
1137
string content = ObjectModelHelpers.
CleanupFileContents
(
1160
var content = ObjectModelHelpers.
CleanupFileContents
(
1191
string content = ObjectModelHelpers.
CleanupFileContents
(
1210
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1233
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1259
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1297
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1327
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1347
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1369
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1389
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1411
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1436
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1468
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1510
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1557
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1605
string content = ObjectModelHelpers.
CleanupFileContents
(
1619
string content = ObjectModelHelpers.
CleanupFileContents
(
1636
string content = ObjectModelHelpers.
CleanupFileContents
(
1659
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
1698
string content = ObjectModelHelpers.
CleanupFileContents
(
1717
string content = ObjectModelHelpers.
CleanupFileContents
(
1736
string content = ObjectModelHelpers.
CleanupFileContents
(
1755
string content = ObjectModelHelpers.
CleanupFileContents
(
1789
string content = ObjectModelHelpers.
CleanupFileContents
(
1826
string content = ObjectModelHelpers.
CleanupFileContents
(
1884
string content = ObjectModelHelpers.
CleanupFileContents
(
1918
string content = ObjectModelHelpers.
CleanupFileContents
(
1954
string content = ObjectModelHelpers.
CleanupFileContents
(
1994
string content = ObjectModelHelpers.
CleanupFileContents
(
2032
string content = ObjectModelHelpers.
CleanupFileContents
(
2062
string content = ObjectModelHelpers.
CleanupFileContents
(
2094
string content = ObjectModelHelpers.
CleanupFileContents
(
2134
string content = ObjectModelHelpers.
CleanupFileContents
(
2175
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2214
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2254
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2283
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2316
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2349
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2387
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2427
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2462
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2492
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2530
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2552
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2577
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2608
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2650
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2695
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2739
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2784
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2822
string content = ObjectModelHelpers.
CleanupFileContents
(
2839
string content = ObjectModelHelpers.
CleanupFileContents
(
2863
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2895
string content = ObjectModelHelpers.
CleanupFileContents
(
2921
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
2945
string content = ObjectModelHelpers.
CleanupFileContents
(
2975
string content = ObjectModelHelpers.
CleanupFileContents
(
3007
string content = ObjectModelHelpers.
CleanupFileContents
(
3024
string content = ObjectModelHelpers.
CleanupFileContents
(
3055
string content = ObjectModelHelpers.
CleanupFileContents
(
3099
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3127
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3178
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3219
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3274
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3301
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3349
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3385
File.WriteAllText(importedFile, ObjectModelHelpers.
CleanupFileContents
(@"
3392
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3424
File.WriteAllText(importedFile, ObjectModelHelpers.
CleanupFileContents
(@"
3431
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3462
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3494
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3519
using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3558
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3593
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3622
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3653
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3680
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3709
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3738
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3767
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3804
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3833
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
3863
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
BackEnd\MSBuild_Tests.cs (3)
792
var projectFile = env.CreateFile("test.proj", ObjectModelHelpers.
CleanupFileContents
(projectContent));
824
var projectFile = env.CreateFile(projFileName, ObjectModelHelpers.
CleanupFileContents
(projectContent));
871
var projectFile = env.CreateFile("test.proj", ObjectModelHelpers.
CleanupFileContents
(projectContent));
BackEnd\OnError_Tests.cs (16)
36
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
146
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
191
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
223
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
257
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
290
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
322
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
347
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
375
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
403
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
436
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
478
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
503
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
533
using ProjectFromString projectFromString = new(ObjectModelHelpers.
CleanupFileContents
(@"
559
Project p = new Project(XmlReader.Create(new StringReader(ObjectModelHelpers.
CleanupFileContents
(@"
772
return String.Format(ObjectModelHelpers.
CleanupFileContents
(@"
BackEnd\Scheduler_Tests.cs (1)
708
string contents = ObjectModelHelpers.
CleanupFileContents
(@"
BackEnd\SdkResultOutOfProc_Tests.cs (5)
108
File.WriteAllText(projectPath,
CleanupFileContents
(contents));
143
File.WriteAllText(entryProjectPath,
CleanupFileContents
(entryProjectContents));
153
File.WriteAllText(projectWithSdkImportPath,
CleanupFileContents
(projectWithSdkImportContents));
233
File.WriteAllText(Path.Combine(projectFolder, "Sdk1", "Sdk.props"),
CleanupFileContents
(sdk1propsContents));
234
File.WriteAllText(Path.Combine(projectFolder, "Sdk2", "Sdk.props"),
CleanupFileContents
(sdk2propsContents));
BackEnd\TargetUpToDateChecker_Tests.cs (11)
47
var content = ObjectModelHelpers.
CleanupFileContents
(
77
var content = ObjectModelHelpers.
CleanupFileContents
(
103
var content = ObjectModelHelpers.
CleanupFileContents
(
130
content = ObjectModelHelpers.
CleanupFileContents
(
303
string projectText = ObjectModelHelpers.
CleanupFileContents
(@"
332
string projectText = ObjectModelHelpers.
CleanupFileContents
(@"
361
string projectText = ObjectModelHelpers.
CleanupFileContents
(@"
391
string projectText = ObjectModelHelpers.
CleanupFileContents
(@"
426
string projectText = ObjectModelHelpers.
CleanupFileContents
(@"
469
var content = ObjectModelHelpers.
CleanupFileContents
(@"
591
string unformattedProjectXml = ObjectModelHelpers.
CleanupFileContents
(
BackEnd\TaskBuilder_Tests.cs (14)
58
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(
80
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(
111
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(
203
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(
249
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(
306
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(@"
370
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(@"
426
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
($@"
456
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(@"
482
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(@"
507
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(@"
538
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(@"
1021
File.WriteAllText(projectAPath, ObjectModelHelpers.
CleanupFileContents
(projectAContents));
1022
File.WriteAllText(projectBPath, ObjectModelHelpers.
CleanupFileContents
(projectBContents));
BackEnd\TaskExecutionHost_Tests.cs (1)
1506
string projectFileContents = ObjectModelHelpers.
CleanupFileContents
(@"
BackEnd\TaskRegistry_Tests.cs (1)
615
var testProject = env.CreateTestProjectWithFiles(ObjectModelHelpers.
CleanupFileContents
(proj));
Construction\ElementLocation_Tests.cs (3)
107
File.WriteAllText(file, ObjectModelHelpers.
CleanupFileContents
("<Project xmlns='msbuildnamespace' ToolsVersion='msbuilddefaulttoolsversion'>\r\n<ItemGroup>") + new string(' ', 70000) + @"<x/></ItemGroup></Project>");
142
File.WriteAllText(file, ObjectModelHelpers.
CleanupFileContents
("<Project xmlns='msbuildnamespace' ToolsVersion='msbuilddefaulttoolsversion'>\r\n<ItemGroup>") + longstring + @" <x/></ItemGroup></Project>");
303
string content = ObjectModelHelpers.
CleanupFileContents
(@"
Construction\SolutionFile_OldParser_Tests.cs (1)
244
string genericProj = ObjectModelHelpers.
CleanupFileContents
(@"
Construction\SolutionProjectGenerator_Tests.cs (2)
577
string classLibraryContentsToolsV4 = ObjectModelHelpers.
CleanupFileContents
(
586
string classLibraryContentsToolsV12 = ObjectModelHelpers.
CleanupFileContents
(
Definition\ProjectItem_Tests.cs (1)
48
ObjectModelHelpers.
CleanupFileContents
(@"
Definition\ToolsetConfigurationReader_Tests.cs (18)
37
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
61
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
97
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
123
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
151
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
203
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
231
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
259
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
287
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
326
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
351
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
376
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
402
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
430
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
465
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
505
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
602
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
637
ToolsetConfigurationReaderTestHelper.WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(@"
Definition\ToolsetConfigurationReaderTestHelper.cs (1)
27
return WriteConfigFile(ObjectModelHelpers.
CleanupFileContents
(content), null);
Definition\ToolsVersion_Tests.cs (8)
318
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
355
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
390
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
452
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
598
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
640
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
796
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
907
mockLogger.AssertLogContains(ObjectModelHelpers.
CleanupFileContents
("ToolsVersion=\"msbuilddefaulttoolsversion\""));
Evaluation\Evaluator_Tests.cs (111)
176
string projXml = ObjectModelHelpers.
CleanupFileContents
(@"
184
string fooXml = ObjectModelHelpers.
CleanupFileContents
(@"
190
string barXml = ObjectModelHelpers.
CleanupFileContents
(@"
347
File.WriteAllText(testTargetPath, ObjectModelHelpers.
CleanupFileContents
(testtargets));
348
File.WriteAllText(subdirProjPath, ObjectModelHelpers.
CleanupFileContents
(subdirTestProj));
350
File.WriteAllText(targetDirectoryTargetsPath, ObjectModelHelpers.
CleanupFileContents
(targetDirTargets));
351
File.WriteAllText(targetDirectoryTargetsPath2, ObjectModelHelpers.
CleanupFileContents
(targetDirTargets2));
352
File.WriteAllText(projectDirectoryTargetsPath, ObjectModelHelpers.
CleanupFileContents
(projDirTargets));
353
File.WriteAllText(projectDirectoryTargetsPath2, ObjectModelHelpers.
CleanupFileContents
(projDirTargets2));
476
File.WriteAllText(testTargetPath, ObjectModelHelpers.
CleanupFileContents
(testtargets));
477
File.WriteAllText(subdirProjPath, ObjectModelHelpers.
CleanupFileContents
(subdirTestProj));
479
File.WriteAllText(targetDirectoryTargetsPath, ObjectModelHelpers.
CleanupFileContents
(targetDirTargets));
480
File.WriteAllText(targetDirectoryTargetsPath2, ObjectModelHelpers.
CleanupFileContents
(targetDirTargets2));
481
File.WriteAllText(projectDirectoryTargetsPath, ObjectModelHelpers.
CleanupFileContents
(projDirTargets));
482
File.WriteAllText(projectDirectoryTargetsPath2, ObjectModelHelpers.
CleanupFileContents
(projDirTargets2));
510
string targetA = ObjectModelHelpers.
CleanupFileContents
(@"
518
string targetB = ObjectModelHelpers.
CleanupFileContents
(@"
526
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
570
string testtargets = ObjectModelHelpers.
CleanupFileContents
(@"
613
string testtargets = ObjectModelHelpers.
CleanupFileContents
(@"
659
string testtargets = ObjectModelHelpers.
CleanupFileContents
(@"
702
string testtargets = ObjectModelHelpers.
CleanupFileContents
(@"
747
string testtargets = ObjectModelHelpers.
CleanupFileContents
(@"
792
string testtargets = ObjectModelHelpers.
CleanupFileContents
(@"
847
string import = ObjectModelHelpers.
CleanupFileContents
(@"
859
string content = ObjectModelHelpers.
CleanupFileContents
(@"
912
string import = ObjectModelHelpers.
CleanupFileContents
(@"
920
string import2 = ObjectModelHelpers.
CleanupFileContents
(@"
935
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1014
string import1 = ObjectModelHelpers.
CleanupFileContents
(@"
1021
string import2 = ObjectModelHelpers.
CleanupFileContents
(@"
1034
string manifest = ObjectModelHelpers.
CleanupFileContents
(@"
1076
string import1 = ObjectModelHelpers.
CleanupFileContents
(@"
1083
string import2 = ObjectModelHelpers.
CleanupFileContents
(@"
1096
string manifest = ObjectModelHelpers.
CleanupFileContents
(@"
1166
string import1 = ObjectModelHelpers.
CleanupFileContents
(@"
1174
string import2 = ObjectModelHelpers.
CleanupFileContents
(@"
1228
string content = ObjectModelHelpers.
CleanupFileContents
($@"
1293
string content = ObjectModelHelpers.
CleanupFileContents
($@"
1330
string content = ObjectModelHelpers.
CleanupFileContents
($@"
1453
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1473
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1501
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1528
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1547
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1578
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1602
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1642
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1677
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1706
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1745
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1774
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1798
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1829
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1865
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1900
string content = ObjectModelHelpers.
CleanupFileContents
(@"
1933
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2016
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2103
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2167
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2192
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2227
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2338
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2363
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2386
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2911
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2937
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2962
string content = ObjectModelHelpers.
CleanupFileContents
(@"
2988
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3018
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3048
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3078
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3114
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3160
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3189
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3225
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3260
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3288
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3330
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3367
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3405
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3415
string importContents = ObjectModelHelpers.
CleanupFileContents
(@"
3465
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3478
string importContents = ObjectModelHelpers.
CleanupFileContents
(@"
3526
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3538
string importContents = ObjectModelHelpers.
CleanupFileContents
(@"
3588
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3605
string importContents = ObjectModelHelpers.
CleanupFileContents
(@"
3662
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3678
string importContents = ObjectModelHelpers.
CleanupFileContents
(@"
3735
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3746
string project2Contents = ObjectModelHelpers.
CleanupFileContents
(@"
3797
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3808
string project2Contents = ObjectModelHelpers.
CleanupFileContents
(@"
3867
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3922
string content = ObjectModelHelpers.
CleanupFileContents
(@"
3974
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4026
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4084
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4142
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4203
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4255
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4302
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4377
string projectContents = ObjectModelHelpers.
CleanupFileContents
(
4527
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
4534
string importContents = ObjectModelHelpers.
CleanupFileContents
(@"
4592
string content = ObjectModelHelpers.
CleanupFileContents
($@"
4700
string content = ObjectModelHelpers.
CleanupFileContents
(@"
4999
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
5017
string testTargets = ObjectModelHelpers.
CleanupFileContents
(@"
5065
string testtargets = ObjectModelHelpers.
CleanupFileContents
(@$"
Evaluation\Preprocessor_Tests.cs (22)
61
string expected = ObjectModelHelpers.
CleanupFileContents
(
90
string expected = ObjectModelHelpers.
CleanupFileContents
(
134
string expected = ObjectModelHelpers.
CleanupFileContents
(
178
string expected = ObjectModelHelpers.
CleanupFileContents
(
222
string expected = ObjectModelHelpers.
CleanupFileContents
(
270
string expected = ObjectModelHelpers.
CleanupFileContents
(
304
string expected = ObjectModelHelpers.
CleanupFileContents
(
340
string one = ObjectModelHelpers.
CleanupFileContents
(
352
string two = ObjectModelHelpers.
CleanupFileContents
(
376
string expected = ObjectModelHelpers.
CleanupFileContents
(
425
string expected = ObjectModelHelpers.
CleanupFileContents
(
483
string expected = ObjectModelHelpers.
CleanupFileContents
(
556
string expected = ObjectModelHelpers.
CleanupFileContents
(
617
string expected = ObjectModelHelpers.
CleanupFileContents
(
677
string expected = ObjectModelHelpers.
CleanupFileContents
(
733
string expected = ObjectModelHelpers.
CleanupFileContents
(
798
string expected = ObjectModelHelpers.
CleanupFileContents
(
815
string content = ObjectModelHelpers.
CleanupFileContents
(@"
832
string expected = ObjectModelHelpers.
CleanupFileContents
(
888
string expected = ObjectModelHelpers.
CleanupFileContents
(
998
string expected = ObjectModelHelpers.
CleanupFileContents
(
1116
string expected = ObjectModelHelpers.
CleanupFileContents
(
EvaluationProfiler_Tests.cs (1)
266
var content =
CleanupFileContents
(projectContent);
Instance\HostServices_Tests.cs (2)
476
string contents = ObjectModelHelpers.
CleanupFileContents
(@"
495
string contents = ObjectModelHelpers.
CleanupFileContents
(@"
Instance\ProjectInstance_Internal_Tests.cs (1)
689
using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.
CleanupFileContents
(projectContents));
Instance\TaskItem_Tests.cs (3)
243
string content = ObjectModelHelpers.
CleanupFileContents
(@"
296
string content = ObjectModelHelpers.
CleanupFileContents
(@"
351
string content = ObjectModelHelpers.
CleanupFileContents
(@"
InvalidProjectFileException_Tests.cs (2)
34
File.WriteAllText(file, ObjectModelHelpers.
CleanupFileContents
(@"
66
File.WriteAllText(file, ObjectModelHelpers.
CleanupFileContents
(@"
ProjectCache\ProjectCacheTests.cs (1)
1685
string content = ObjectModelHelpers.
CleanupFileContents
(
Utilities_Tests.cs (1)
75
TransientTestFile inputFile = env.CreateFile("tempInput.tmp", ObjectModelHelpers.
CleanupFileContents
(@"
Microsoft.Build.Tasks.UnitTests (6)
MSBuild_Tests.cs (1)
160
string projectContents = ObjectModelHelpers.
CleanupFileContents
(@"
ResolveSDKReference_Tests.cs (5)
3741
string tempProjectContents = ObjectModelHelpers.
CleanupFileContents
(
3884
string tempProjectContents = ObjectModelHelpers.
CleanupFileContents
(
4009
string tempProjectContents = ObjectModelHelpers.
CleanupFileContents
(
4116
string tempProjectContents = ObjectModelHelpers.
CleanupFileContents
(
4256
string tempProjectContents = ObjectModelHelpers.
CleanupFileContents
(@"
Microsoft.Build.UnitTests.Shared (15)
EngineTestEnvironment.cs (1)
131
File.WriteAllText(ProjectFile, ObjectModelHelpers.
CleanupFileContents
(projectContents));
ObjectModelHelpers.cs (14)
606
return
CleanupFileContents
(aString);
657
File.WriteAllText(projectFilePath,
CleanupFileContents
(fileContents));
664
var cleanedProject =
CleanupFileContents
(projectContents);
732
XmlReader.Create(new StringReader(
CleanupFileContents
(xml)), readerSettings),
820
newExpectedProjectContents = NormalizeXmlWhitespace(
CleanupFileContents
(newExpectedProjectContents));
917
File.WriteAllText(fullFilePath,
CleanupFileContents
(fileContents));
923
File.WriteAllText(fullFilePath,
CleanupFileContents
(fileContents), encoding);
1100
using ProjectRootElementFromString projectRootElementFromString = new(
CleanupFileContents
(content));
1357
content = ObjectModelHelpers.
CleanupFileContents
(content);
1385
content = ObjectModelHelpers.
CleanupFileContents
(content);
1411
content = ObjectModelHelpers.
CleanupFileContents
(content);
1471
content = ObjectModelHelpers.
CleanupFileContents
(content);
1581
ObjectModelHelpers.
CleanupFileContents
(newExpectedProjectContents));
1633
File.WriteAllText(createdProjectFile, ObjectModelHelpers.
CleanupFileContents
(projectContents));
Microsoft.Build.Utilities.UnitTests (10)
MuxLogger_Tests.cs (7)
43
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
79
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
138
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
180
string projectBody1 = ObjectModelHelpers.
CleanupFileContents
(@"
189
string projectBody2 = ObjectModelHelpers.
CleanupFileContents
(@"
247
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
297
string projectBody = ObjectModelHelpers.
CleanupFileContents
(@"
PlatformManifest_Tests.cs (1)
327
File.WriteAllText(Path.Combine(_manifestDirectory, "Platform.xml"), ObjectModelHelpers.
CleanupFileContents
(contents));
ToolLocationHelper_Tests.cs (2)
3546
string tempProjectContents = ObjectModelHelpers.
CleanupFileContents
(@"
3615
string tempProjectContents = ObjectModelHelpers.
CleanupFileContents
(@"