32 references to Xml
Microsoft.Build (27)
Definition\Project.cs (19)
487
projectCollection.TryUnloadProject(
Xml
);
740
/// The actual tools version on the Project tag, can be gotten from <see cref="
Xml
">Xml.ToolsVersion</see>.
758
public string DirectoryPath =>
Xml
.DirectoryPath;
768
get =>
Xml
.FullPath;
770
set =>
Xml
.FullPath = value;
820
public ElementLocation ProjectFileLocation =>
Xml
.ProjectFileLocation;
1436
Xml
.Save();
1444
Xml
.Save(encoding);
1453
Xml
.Save(path);
1461
Xml
.Save(path, encoding);
1471
Xml
.Save(writer);
1815
ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(
Xml
, otherXml), "OM_CannotModifyEvaluatedObjectInImportedFile", otherXml.Location.File);
4301
RecordImport(null, Project.
Xml
, Project.
Xml
.Version, null);
4303
ElementLocation toolsVersionLocation = Project.
Xml
.ProjectFileLocation;
4305
if (Project.
Xml
.ToolsVersion.Length > 0)
4307
OriginalProjectToolsVersion = Project.
Xml
.ToolsVersion;
4308
toolsVersionLocation = Project.
Xml
.ToolsVersionLocation;
4313
Project.
Xml
.ToolsVersion,
Definition\ProjectItem.cs (1)
251
bool isImported = !Object.ReferenceEquals(_xml.ContainingProject, _project.
Xml
);
Definition\ProjectItemDefinition.cs (1)
173
ProjectItemDefinitionElement itemDefinition = _project.
Xml
.AddItemDefinition(_itemType);
Definition\ProjectMetadata.cs (1)
214
bool isImported = !Object.ReferenceEquals(_xml.ContainingProject, _parent.Project.
Xml
);
Definition\ProjectProperty.cs (2)
477
bool isImported = !Object.ReferenceEquals(_xml.ContainingProject, _project.
Xml
);
601
_project.
Xml
.AddProperty(_name, value);
Definition\ResolvedImport.cs (1)
43
IsImported = importingElement != null && !ReferenceEquals(project.
Xml
, importingElement.ContainingProject);
Evaluation\Preprocessor.cs (1)
93
XmlDocument outerDocument = _project.
Xml
.XmlDocument;
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
22
/// Access to remote <see cref="Project.
Xml
"/>.
NuGet.CommandLine.XPlat (5)
Utility\MSBuildAPIUtility.cs (5)
546
var itemGroup = project.
Xml
.AddItemGroup();
934
var newProject = new ProjectInstance(project.
Xml
, globalProperties, null, ProjectCollection.GlobalProjectCollection);
1102
virtualProject.Builder.SaveProject(virtualProject.EntryPointFilePath, Project.
Xml
);
1112
if (projectRootElement == Project.
Xml
)
1124
return this with { Project = new Project(Project.
Xml
, globalProperties, toolsVersion: null) };