-
Notifications
You must be signed in to change notification settings - Fork 14
/
ProjectRootElement.xml
3471 lines (3352 loc) · 222 KB
/
ProjectRootElement.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="ProjectRootElement" FullName="Microsoft.Build.Construction.ProjectRootElement">
<TypeSignature Language="C#" Value="public class ProjectRootElement : Microsoft.Build.Construction.ProjectElementContainer" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ProjectRootElement extends Microsoft.Build.Construction.ProjectElementContainer" />
<TypeSignature Language="DocId" Value="T:Microsoft.Build.Construction.ProjectRootElement" />
<TypeSignature Language="VB.NET" Value="Public Class ProjectRootElement
Inherits ProjectElementContainer" />
<TypeSignature Language="F#" Value="type ProjectRootElement = class
 inherit ProjectElementContainer" />
<TypeSignature Language="C++ CLI" Value="public ref class ProjectRootElement : Microsoft::Build::Construction::ProjectElementContainer" />
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.Build.Construction.ProjectElementContainer</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Diagnostics.DebuggerDisplay("{FullPath} #Children={Count} DefaultTargets={DefaultTargets} ToolsVersion={ToolsVersion} InitialTargets={InitialTargets} ExplicitlyLoaded={IsExplicitlyLoaded}")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{FullPath} #Children={Count} DefaultTargets={DefaultTargets} ToolsVersion={ToolsVersion} InitialTargets={InitialTargets} ExplicitlyLoaded={IsExplicitlyLoaded}")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Diagnostics.DebuggerDisplay("{FullPath} #Children={Count} DefaultTargets={DefaultTargets} ToolsVersion={ToolsVersion} InitialTargets={InitialTargets}")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{FullPath} #Children={Count} DefaultTargets={DefaultTargets} ToolsVersion={ToolsVersion} InitialTargets={InitialTargets}")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
ProjectRootElement class represents an MSBuild project, an MSBuild targets file or any other file that conforms to MSBuild
project file schema.
This class and its related classes allow a complete MSBuild project or targets file to be read and written.
Comments and whitespace cannot be edited through this model at present.
Each project root element is associated with exactly one ProjectCollection. This allows the owner of that project collection
to control its lifetime and not be surprised by edits via another project collection.
</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Comments and white space cannot be edited through this model at present. Each project root element is associated with exactly one project collection. This allows the owner of that project collection to control its lifetime and not be surprised by edits that come from another project collection.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="AddImport">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectImportElement AddImport (string project);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectImportElement AddImport(string project) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddImport(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AddImport (project As String) As ProjectImportElement" />
<MemberSignature Language="F#" Value="member this.AddImport : string -> Microsoft.Build.Construction.ProjectImportElement" Usage="projectRootElement.AddImport project" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectImportElement ^ AddImport(System::String ^ project);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectImportElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="project" Type="System.String" />
</Parameters>
<Docs>
<param name="project">The project to be imported.</param>
<summary>
Convenience method that picks a location based on a heuristic:
If import groups exist, inserts into the last one without a condition on it.
Otherwise, creates an import at the end of the project.
</summary>
<returns>The added project import.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If import groups exist, inserts the project import into the last import group that has no Condition attribute; otherwise, creates an import at the end of the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="AddImportGroup">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectImportGroupElement AddImportGroup ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectImportGroupElement AddImportGroup() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddImportGroup" />
<MemberSignature Language="VB.NET" Value="Public Function AddImportGroup () As ProjectImportGroupElement" />
<MemberSignature Language="F#" Value="member this.AddImportGroup : unit -> Microsoft.Build.Construction.ProjectImportGroupElement" Usage="projectRootElement.AddImportGroup " />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectImportGroupElement ^ AddImportGroup();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectImportGroupElement</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Convenience method that picks a location based on a heuristic:
Creates an import group at the end of the project.
</summary>
<returns>The import group created at the end of this project.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This convenience method picks a location in the MSBuild DOM based on a heuristic.
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="AddItem">
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Adds an item to this project.</summary>
</Docs>
</MemberGroup>
<Member MemberName="AddItem">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectItemElement AddItem (string itemType, string include);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectItemElement AddItem(string itemType, string include) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddItem(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AddItem (itemType As String, include As String) As ProjectItemElement" />
<MemberSignature Language="F#" Value="member this.AddItem : string * string -> Microsoft.Build.Construction.ProjectItemElement" Usage="projectRootElement.AddItem (itemType, include)" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectItemElement ^ AddItem(System::String ^ itemType, System::String ^ include);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectItemElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="itemType" Type="System.String" />
<Parameter Name="include" Type="System.String" />
</Parameters>
<Docs>
<param name="itemType">The item type of the item to be added.</param>
<param name="include">The Include value of the item to be added.</param>
<summary>
Convenience method that picks a location based on a heuristic:
Finds item group with no condition with at least one item of same type, or else adds a new item group;
adds the item to that item group with items of the same type, ordered by include.
</summary>
<returns>The added item.</returns>
<remarks>
Per the previous implementation, it actually finds the last suitable item group, not the first.
</remarks>
</Docs>
</Member>
<Member MemberName="AddItem">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectItemElement AddItem (string itemType, string include, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> metadata);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectItemElement AddItem(string itemType, string include, class System.Collections.Generic.IEnumerable`1<valuetype System.Collections.Generic.KeyValuePair`2<string, string>> metadata) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddItem(System.String,System.String,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}})" />
<MemberSignature Language="VB.NET" Value="Public Function AddItem (itemType As String, include As String, metadata As IEnumerable(Of KeyValuePair(Of String, String))) As ProjectItemElement" />
<MemberSignature Language="F#" Value="member this.AddItem : string * string * seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.Build.Construction.ProjectItemElement" Usage="projectRootElement.AddItem (itemType, include, metadata)" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectItemElement ^ AddItem(System::String ^ itemType, System::String ^ include, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ metadata);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectItemElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="itemType" Type="System.String" />
<Parameter Name="include" Type="System.String" />
<Parameter Name="metadata" Type="System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.String>>" />
</Parameters>
<Docs>
<param name="itemType">The item type of the item to be added.</param>
<param name="include">The Include value of the item to be added.</param>
<param name="metadata">The metadata to be added.</param>
<summary>
Convenience method that picks a location based on a heuristic:
Finds first item group with no condition with at least one item of same type, or else an empty item group; or else adds a new item group;
adds the item to that item group with items of the same type, ordered by include.
Does not attempt to check whether the item matches an existing wildcard expression; that is only possible
in the evaluated world.
</summary>
<returns>The added item.</returns>
<remarks>
Per the previous implementation, it actually finds the last suitable item group, not the first.
</remarks>
</Docs>
</Member>
<Member MemberName="AddItemDefinition">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectItemDefinitionElement AddItemDefinition (string itemType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectItemDefinitionElement AddItemDefinition(string itemType) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddItemDefinition(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AddItemDefinition (itemType As String) As ProjectItemDefinitionElement" />
<MemberSignature Language="F#" Value="member this.AddItemDefinition : string -> Microsoft.Build.Construction.ProjectItemDefinitionElement" Usage="projectRootElement.AddItemDefinition itemType" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectItemDefinitionElement ^ AddItemDefinition(System::String ^ itemType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectItemDefinitionElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="itemType" Type="System.String" />
</Parameters>
<Docs>
<param name="itemType">The item type of the item definition to be added.</param>
<summary>
Convenience method that picks a location based on a heuristic:
Finds first item definition group with no condition with at least one item definition of same item type, or else adds a new item definition group.
</summary>
<returns>The added item definition.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Creates an item, then adds it to an item group with no Condition attribute and at least one item of same item type. If no such item group is found, creates a new item group and adds the item to it. Items are ordered by Include values.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="AddItemDefinitionGroup">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectItemDefinitionGroupElement AddItemDefinitionGroup ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectItemDefinitionGroupElement AddItemDefinitionGroup() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddItemDefinitionGroup" />
<MemberSignature Language="VB.NET" Value="Public Function AddItemDefinitionGroup () As ProjectItemDefinitionGroupElement" />
<MemberSignature Language="F#" Value="member this.AddItemDefinitionGroup : unit -> Microsoft.Build.Construction.ProjectItemDefinitionGroupElement" Usage="projectRootElement.AddItemDefinitionGroup " />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectItemDefinitionGroupElement ^ AddItemDefinitionGroup();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectItemDefinitionGroupElement</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Convenience method that picks a location based on a heuristic:
Adds an item definition group after the last existing item definition group, if any; otherwise
adds an item definition group after the last existing property group, if any; otherwise
adds a new item definition group at the end of the project.
</summary>
<returns>The added item definition group.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Creates and adds an item definition group after the last existing item definition group, if any. Otherwise, creates an item definition group after the last existing property group, if any. If no property group exists, creates a new item definition group at the end of the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="AddItemGroup">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectItemGroupElement AddItemGroup ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectItemGroupElement AddItemGroup() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddItemGroup" />
<MemberSignature Language="VB.NET" Value="Public Function AddItemGroup () As ProjectItemGroupElement" />
<MemberSignature Language="F#" Value="member this.AddItemGroup : unit -> Microsoft.Build.Construction.ProjectItemGroupElement" Usage="projectRootElement.AddItemGroup " />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectItemGroupElement ^ AddItemGroup();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectItemGroupElement</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Convenience method that picks a location based on a heuristic:
Adds an item group after the last existing item group, if any; otherwise
adds an item group after the last existing property group, if any; otherwise
adds a new item group at the end of the project.
</summary>
<returns>The added item group.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Creates and adds an item group after the last existing item group, if any. Otherwise, creates an item group after the last existing property group, if any. If no property group exists, creates a new item group at the end of the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="AddProperty">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectPropertyElement AddProperty (string name, string value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectPropertyElement AddProperty(string name, string value) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddProperty(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AddProperty (name As String, value As String) As ProjectPropertyElement" />
<MemberSignature Language="F#" Value="member this.AddProperty : string * string -> Microsoft.Build.Construction.ProjectPropertyElement" Usage="projectRootElement.AddProperty (name, value)" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectPropertyElement ^ AddProperty(System::String ^ name, System::String ^ value);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectPropertyElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the property to be updated or added.</param>
<param name="value">The value of the property to be updated or added.</param>
<summary>
Convenience method that picks a location based on a heuristic.
Updates the last existing property with the specified name that has no condition on itself or its property group, if any.
Otherwise, adds a new property in the first property group without a condition, creating a property group if necessary after
the last existing property group, else at the start of the project.
</summary>
<returns>The updated or added property.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Updates the last existing property with the specified `name` that has no Condition attribute on itself or on the property group that contains it. Otherwise, creates a property and adds it to the first property group that has no Condition attribute. If no such property group exists, creates a property group after the last existing property group, if any, and adds the property to it . Otherwise, creates and adds a property group to the start of the project, and adds the property to it.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="AddPropertyGroup">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectPropertyGroupElement AddPropertyGroup ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectPropertyGroupElement AddPropertyGroup() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddPropertyGroup" />
<MemberSignature Language="VB.NET" Value="Public Function AddPropertyGroup () As ProjectPropertyGroupElement" />
<MemberSignature Language="F#" Value="member this.AddPropertyGroup : unit -> Microsoft.Build.Construction.ProjectPropertyGroupElement" Usage="projectRootElement.AddPropertyGroup " />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectPropertyGroupElement ^ AddPropertyGroup();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectPropertyGroupElement</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Convenience method that picks a location based on a heuristic:
Adds a new property group after the last existing property group, if any; otherwise
at the start of the project.
</summary>
<returns>The added property group.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Creates a property group and adds it after the last existing property group, if any. Otherwise, adds the property group to the start of the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="AddTarget">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectTargetElement AddTarget (string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectTargetElement AddTarget(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddTarget(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AddTarget (name As String) As ProjectTargetElement" />
<MemberSignature Language="F#" Value="member this.AddTarget : string -> Microsoft.Build.Construction.ProjectTargetElement" Usage="projectRootElement.AddTarget name" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectTargetElement ^ AddTarget(System::String ^ name);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectTargetElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the target to be added.</param>
<summary>
Convenience method that picks a location based on a heuristic:
Creates a target at the end of the project.
</summary>
<returns>The added target.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Convenience method that picks a location based on a heuristic: Creates a target at the end of the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="AddUsingTask">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectUsingTaskElement AddUsingTask (string name, string assemblyFile, string assemblyName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectUsingTaskElement AddUsingTask(string name, string assemblyFile, string assemblyName) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.AddUsingTask(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AddUsingTask (name As String, assemblyFile As String, assemblyName As String) As ProjectUsingTaskElement" />
<MemberSignature Language="F#" Value="member this.AddUsingTask : string * string * string -> Microsoft.Build.Construction.ProjectUsingTaskElement" Usage="projectRootElement.AddUsingTask (name, assemblyFile, assemblyName)" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectUsingTaskElement ^ AddUsingTask(System::String ^ name, System::String ^ assemblyFile, System::String ^ assemblyName);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectUsingTaskElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="assemblyFile" Type="System.String" />
<Parameter Name="assemblyName" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The task name.</param>
<param name="assemblyFile">The file path to the assembly.</param>
<param name="assemblyName">The name of the assembly to load.</param>
<summary>
Convenience method that picks a location based on a heuristic:
Creates a usingtask at the end of the project.
Exactly one of assemblyName or assemblyFile must be null.
</summary>
<returns>The added UsingTask element.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Either the `assemblyName` or `assemblyFile` must be null, but not both.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ChooseElements">
<MemberSignature Language="C#" Value="public System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectChooseElement> ChooseElements { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.ICollection`1<class Microsoft.Build.Construction.ProjectChooseElement> ChooseElements" />
<MemberSignature Language="DocId" Value="P:Microsoft.Build.Construction.ProjectRootElement.ChooseElements" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ChooseElements As ICollection(Of ProjectChooseElement)" />
<MemberSignature Language="F#" Value="member this.ChooseElements : System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectChooseElement>" Usage="Microsoft.Build.Construction.ProjectRootElement.ChooseElements" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Collections::Generic::ICollection<Microsoft::Build::Construction::ProjectChooseElement ^> ^ ChooseElements { System::Collections::Generic::ICollection<Microsoft::Build::Construction::ProjectChooseElement ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectChooseElement></ReturnType>
</ReturnValue>
<Docs>
<summary>
Get a read-only collection of the child chooses, if any
</summary>
<value>All child Choose elements.</value>
<remarks>
The name is inconsistent to make it more understandable, per API review.
</remarks>
</Docs>
</Member>
<Member MemberName="Condition">
<MemberSignature Language="C#" Value="public override string Condition { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Condition" />
<MemberSignature Language="DocId" Value="P:Microsoft.Build.Construction.ProjectRootElement.Condition" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property Condition As String" />
<MemberSignature Language="F#" Value="member this.Condition : string with get, set" Usage="Microsoft.Build.Construction.ProjectRootElement.Condition" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ Condition { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Condition should never be set, but the getter returns null instead of throwing
because a nonexistent condition is implicitly true
</summary>
<value>Always returns <see langword="null" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ConditionLocation">
<MemberSignature Language="C#" Value="public override Microsoft.Build.Construction.ElementLocation ConditionLocation { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Build.Construction.ElementLocation ConditionLocation" />
<MemberSignature Language="DocId" Value="P:Microsoft.Build.Construction.ProjectRootElement.ConditionLocation" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property ConditionLocation As ElementLocation" />
<MemberSignature Language="F#" Value="member this.ConditionLocation : Microsoft.Build.Construction.ElementLocation" Usage="Microsoft.Build.Construction.ProjectRootElement.ConditionLocation" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property Microsoft::Build::Construction::ElementLocation ^ ConditionLocation { Microsoft::Build::Construction::ElementLocation ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ElementLocation</ReturnType>
</ReturnValue>
<Docs>
<summary>
This does not allow conditions, so it should not be called.
</summary>
<value>Always returns <see langword="null" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Create">
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Creates and initializes an in-memory, empty ProjectRootElement instance and adds it to the global project collection.</summary>
</Docs>
</MemberGroup>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create () As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : unit -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create " />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later.
Uses the global project collection.
</summary>
<returns>The new project root.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (Microsoft.Build.Evaluation.NewProjectFileOptions projectFileOptions);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(valuetype Microsoft.Build.Evaluation.NewProjectFileOptions projectFileOptions) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(Microsoft.Build.Evaluation.NewProjectFileOptions)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (projectFileOptions As NewProjectFileOptions) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : Microsoft.Build.Evaluation.NewProjectFileOptions -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create projectFileOptions" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(Microsoft::Build::Evaluation::NewProjectFileOptions projectFileOptions);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="projectFileOptions" Type="Microsoft.Build.Evaluation.NewProjectFileOptions" Index="0" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
</Parameters>
<Docs>
<param name="projectFileOptions">To be added.</param>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later using the specified <see cref="T:Microsoft.Build.Evaluation.NewProjectFileOptions" />.
Uses the global project collection.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (Microsoft.Build.Evaluation.ProjectCollection projectCollection);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(class Microsoft.Build.Evaluation.ProjectCollection projectCollection) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(Microsoft.Build.Evaluation.ProjectCollection)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (projectCollection As ProjectCollection) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : Microsoft.Build.Evaluation.ProjectCollection -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create projectCollection" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(Microsoft::Build::Evaluation::ProjectCollection ^ projectCollection);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="projectCollection" Type="Microsoft.Build.Evaluation.ProjectCollection" />
</Parameters>
<Docs>
<param name="projectCollection">The project collection to be added to.</param>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later.
Uses the specified project collection.
</summary>
<returns>The new project root.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (string path);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(string path) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (path As String) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : string -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create path" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(System::String ^ path);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
</Parameters>
<Docs>
<param name="path">The file path to the data used for initialization.</param>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later.
Uses the global project collection.
</summary>
<returns>The new project root.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (System.Xml.XmlReader xmlReader);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(class System.Xml.XmlReader xmlReader) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(System.Xml.XmlReader)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (xmlReader As XmlReader) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : System.Xml.XmlReader -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create xmlReader" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(System::Xml::XmlReader ^ xmlReader);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xmlReader" Type="System.Xml.XmlReader" />
</Parameters>
<Docs>
<param name="xmlReader">The XML reader used for initialization.</param>
<summary>
Initialize a ProjectRootElement instance from an XmlReader.
Uses the global project collection.
May throw InvalidProjectFileException.
</summary>
<returns>The new project root.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
May throw InvalidProjectFileException.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.NewProjectFileOptions projectFileOptions);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(class Microsoft.Build.Evaluation.ProjectCollection projectCollection, valuetype Microsoft.Build.Evaluation.NewProjectFileOptions projectFileOptions) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(Microsoft.Build.Evaluation.ProjectCollection,Microsoft.Build.Evaluation.NewProjectFileOptions)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (projectCollection As ProjectCollection, projectFileOptions As NewProjectFileOptions) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : Microsoft.Build.Evaluation.ProjectCollection * Microsoft.Build.Evaluation.NewProjectFileOptions -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create (projectCollection, projectFileOptions)" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(Microsoft::Build::Evaluation::ProjectCollection ^ projectCollection, Microsoft::Build::Evaluation::NewProjectFileOptions projectFileOptions);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="projectCollection" Type="Microsoft.Build.Evaluation.ProjectCollection" Index="0" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
<Parameter Name="projectFileOptions" Type="Microsoft.Build.Evaluation.NewProjectFileOptions" Index="1" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
</Parameters>
<Docs>
<param name="projectCollection">To be added.</param>
<param name="projectFileOptions">To be added.</param>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later using the specified <see cref="T:Microsoft.Build.Evaluation.ProjectCollection" /> and <see cref="T:Microsoft.Build.Evaluation.NewProjectFileOptions" />.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (string path, Microsoft.Build.Evaluation.NewProjectFileOptions newProjectFileOptions);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(string path, valuetype Microsoft.Build.Evaluation.NewProjectFileOptions newProjectFileOptions) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(System.String,Microsoft.Build.Evaluation.NewProjectFileOptions)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (path As String, newProjectFileOptions As NewProjectFileOptions) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : string * Microsoft.Build.Evaluation.NewProjectFileOptions -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create (path, newProjectFileOptions)" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(System::String ^ path, Microsoft::Build::Evaluation::NewProjectFileOptions newProjectFileOptions);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" Index="0" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
<Parameter Name="newProjectFileOptions" Type="Microsoft.Build.Evaluation.NewProjectFileOptions" Index="1" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
</Parameters>
<Docs>
<param name="path">To be added.</param>
<param name="newProjectFileOptions">To be added.</param>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later using the specified path and <see cref="T:Microsoft.Build.Evaluation.NewProjectFileOptions" />.
Uses the global project collection.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (string path, Microsoft.Build.Evaluation.ProjectCollection projectCollection);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(string path, class Microsoft.Build.Evaluation.ProjectCollection projectCollection) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(System.String,Microsoft.Build.Evaluation.ProjectCollection)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (path As String, projectCollection As ProjectCollection) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : string * Microsoft.Build.Evaluation.ProjectCollection -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create (path, projectCollection)" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(System::String ^ path, Microsoft::Build::Evaluation::ProjectCollection ^ projectCollection);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
<Parameter Name="projectCollection" Type="Microsoft.Build.Evaluation.ProjectCollection" />
</Parameters>
<Docs>
<param name="path">The file path to the data used for initialization.</param>
<param name="projectCollection">The project collection to be added to.</param>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later.
Uses the specified project collection.
</summary>
<returns>The new project root.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (System.Xml.XmlReader xmlReader, Microsoft.Build.Evaluation.ProjectCollection projectCollection);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(class System.Xml.XmlReader xmlReader, class Microsoft.Build.Evaluation.ProjectCollection projectCollection) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(System.Xml.XmlReader,Microsoft.Build.Evaluation.ProjectCollection)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (xmlReader As XmlReader, projectCollection As ProjectCollection) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : System.Xml.XmlReader * Microsoft.Build.Evaluation.ProjectCollection -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create (xmlReader, projectCollection)" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(System::Xml::XmlReader ^ xmlReader, Microsoft::Build::Evaluation::ProjectCollection ^ projectCollection);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xmlReader" Type="System.Xml.XmlReader" />
<Parameter Name="projectCollection" Type="Microsoft.Build.Evaluation.ProjectCollection" />
</Parameters>
<Docs>
<param name="xmlReader">The XML reader used for initialization.</param>
<param name="projectCollection">The project collection to be added to.</param>
<summary>
Initialize a ProjectRootElement instance from an XmlReader.
Uses the specified project collection.
May throw InvalidProjectFileException.
</summary>
<returns>The new project root.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
May throw InvalidProjectFileException.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (string path, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.NewProjectFileOptions newProjectFileOptions);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(string path, class Microsoft.Build.Evaluation.ProjectCollection projectCollection, valuetype Microsoft.Build.Evaluation.NewProjectFileOptions newProjectFileOptions) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(System.String,Microsoft.Build.Evaluation.ProjectCollection,Microsoft.Build.Evaluation.NewProjectFileOptions)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (path As String, projectCollection As ProjectCollection, newProjectFileOptions As NewProjectFileOptions) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : string * Microsoft.Build.Evaluation.ProjectCollection * Microsoft.Build.Evaluation.NewProjectFileOptions -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create (path, projectCollection, newProjectFileOptions)" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(System::String ^ path, Microsoft::Build::Evaluation::ProjectCollection ^ projectCollection, Microsoft::Build::Evaluation::NewProjectFileOptions newProjectFileOptions);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" Index="0" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
<Parameter Name="projectCollection" Type="Microsoft.Build.Evaluation.ProjectCollection" Index="1" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
<Parameter Name="newProjectFileOptions" Type="Microsoft.Build.Evaluation.NewProjectFileOptions" Index="2" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
</Parameters>
<Docs>
<param name="path">To be added.</param>
<param name="projectCollection">To be added.</param>
<param name="newProjectFileOptions">To be added.</param>
<summary>
Initialize an in-memory, empty ProjectRootElement instance that can be saved later.
Uses the specified project collection.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Build.Construction.ProjectRootElement Create (System.Xml.XmlReader xmlReader, Microsoft.Build.Evaluation.ProjectCollection projectCollection, bool preserveFormatting);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Build.Construction.ProjectRootElement Create(class System.Xml.XmlReader xmlReader, class Microsoft.Build.Evaluation.ProjectCollection projectCollection, bool preserveFormatting) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.Create(System.Xml.XmlReader,Microsoft.Build.Evaluation.ProjectCollection,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (xmlReader As XmlReader, projectCollection As ProjectCollection, preserveFormatting As Boolean) As ProjectRootElement" />
<MemberSignature Language="F#" Value="static member Create : System.Xml.XmlReader * Microsoft.Build.Evaluation.ProjectCollection * bool -> Microsoft.Build.Construction.ProjectRootElement" Usage="Microsoft.Build.Construction.ProjectRootElement.Create (xmlReader, projectCollection, preserveFormatting)" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Build::Construction::ProjectRootElement ^ Create(System::Xml::XmlReader ^ xmlReader, Microsoft::Build::Evaluation::ProjectCollection ^ projectCollection, bool preserveFormatting);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectRootElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xmlReader" Type="System.Xml.XmlReader" Index="0" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
<Parameter Name="projectCollection" Type="Microsoft.Build.Evaluation.ProjectCollection" Index="1" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
<Parameter Name="preserveFormatting" Type="System.Boolean" Index="2" FrameworkAlternate="msbuild-15;msbuild-15-netcore;msbuild-16;msbuild-16-netcore;msbuild-17;msbuild-17-netcore" />
</Parameters>
<Docs>
<param name="xmlReader">To be added.</param>
<param name="projectCollection">To be added.</param>
<param name="preserveFormatting">To be added.</param>
<summary>
Initialize a ProjectRootElement instance from an XmlReader.
Uses the specified project collection.
May throw InvalidProjectFileException.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateChooseElement">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectChooseElement CreateChooseElement ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectChooseElement CreateChooseElement() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.CreateChooseElement" />
<MemberSignature Language="VB.NET" Value="Public Function CreateChooseElement () As ProjectChooseElement" />
<MemberSignature Language="F#" Value="member this.CreateChooseElement : unit -> Microsoft.Build.Construction.ProjectChooseElement" Usage="projectRootElement.CreateChooseElement " />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectChooseElement ^ CreateChooseElement();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectChooseElement</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Creates a choose.
Caller must add it to the location of choice in the project.
</summary>
<returns>A <see cref="T:Microsoft.Build.Construction.ProjectChooseElement" /> object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Caller must add the Choose element to the location of choice in the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateImportElement">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectImportElement CreateImportElement (string project);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectImportElement CreateImportElement(string project) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.CreateImportElement(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function CreateImportElement (project As String) As ProjectImportElement" />
<MemberSignature Language="F#" Value="member this.CreateImportElement : string -> Microsoft.Build.Construction.ProjectImportElement" Usage="projectRootElement.CreateImportElement project" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectImportElement ^ CreateImportElement(System::String ^ project);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectImportElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="project" Type="System.String" />
</Parameters>
<Docs>
<param name="project">The project to be imported.</param>
<summary>
Creates an import.
Caller must add it to the location of choice in the project.
</summary>
<returns>The created Import element.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Caller must add the Import element to the location of choice in the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateImportGroupElement">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectImportGroupElement CreateImportGroupElement ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectImportGroupElement CreateImportGroupElement() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.CreateImportGroupElement" />
<MemberSignature Language="VB.NET" Value="Public Function CreateImportGroupElement () As ProjectImportGroupElement" />
<MemberSignature Language="F#" Value="member this.CreateImportGroupElement : unit -> Microsoft.Build.Construction.ProjectImportGroupElement" Usage="projectRootElement.CreateImportGroupElement " />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectImportGroupElement ^ CreateImportGroupElement();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Build.Construction.ProjectImportGroupElement</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Creates an import group.
Caller must add it to the location of choice in the project.
</summary>
<returns>The import group.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Caller must add the import group to the location of choice in the project.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateItemDefinitionElement">
<MemberSignature Language="C#" Value="public Microsoft.Build.Construction.ProjectItemDefinitionElement CreateItemDefinitionElement (string itemType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.Build.Construction.ProjectItemDefinitionElement CreateItemDefinitionElement(string itemType) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Construction.ProjectRootElement.CreateItemDefinitionElement(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function CreateItemDefinitionElement (itemType As String) As ProjectItemDefinitionElement" />
<MemberSignature Language="F#" Value="member this.CreateItemDefinitionElement : string -> Microsoft.Build.Construction.ProjectItemDefinitionElement" Usage="projectRootElement.CreateItemDefinitionElement itemType" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::Build::Construction::ProjectItemDefinitionElement ^ CreateItemDefinitionElement(System::String ^ itemType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>