319 references to Add
aspire (30)
Projects\DotNetBasedAppHostServerProject.cs (12)
193projectRefGroup.Add(new XElement("ProjectReference",
208projectRefGroup.Add(new XElement("ProjectReference",
215doc.Root!.Add(projectRefGroup);
220doc.Root!.Add(new XElement("ItemGroup",
232doc.Root!.Add(new XElement("Import", new XAttribute("Project", appHostInTargets)));
236doc.Root!.Add(new XElement("Import", new XAttribute("Project", sdkInTargets)));
243doc.Root!.Add(new XElement("ItemGroup",
250doc.Root!.Add(new XElement("ItemGroup",
255doc.Root!.Add(new XElement("Target", new XAttribute("Name", "_CSharpWriteHostProjectMetadataSources")));
256doc.Root!.Add(new XElement("Target", new XAttribute("Name", "_CSharpWriteProjectMetadataSources")));
380doc.Root!.Add(new XElement("ItemGroup", additionalProjectRefs));
385doc.Root!.Add(new XElement("ItemGroup",
Aspire.Hosting.Maui (12)
BuildBoss (4)
dotnet-svcutil-lib (12)
Shared\MSBuildProj.cs (11)
85this.ProjectNode.Add(_projectReferenceGroup);
108this.ProjectNode.Add(_referenceGroup);
132this.ProjectNode.Add(_packageReferenceGroup);
451projectElement.Add(propertyGroup);
538this.ProjectReferceGroup.Add(new XElement("ProjectReference", new XAttribute("Include", dependency.FullPath)));
541this.ReferenceGroup.Add(new XElement("Reference", new XAttribute("Include", dependency.AssemblyName), new XElement("HintPath", dependency.FullPath)));
544this.PacakgeReferenceGroup.Add(new XElement("PackageReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version)));
547this.ReferenceGroup.Add(new XElement("DotNetCliToolReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version)));
561this.ReferenceGroup.Add(new XElement("Content",
571this.PacakgeReferenceGroup.Add(new XElement("Content",
609propertyGroup.Add(element);
dotnet-user-jwts (3)
dotnet-user-secrets (3)
GenerateDocumentationAndConfigFiles (3)
IIS.FunctionalTests (2)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (2)
illink (2)
ILLink.Tasks (1)
Metrics (3)
Metrics.Legacy (3)
Microsoft.AspNetCore.App.Analyzers.Test (7)
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.Identity.InMemory.Test (2)
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (4)
Microsoft.Cci.Extensions (5)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Analyzers (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
Microsoft.CodeAnalysis.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (17)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (9)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (3)
Microsoft.CodeAnalysis.PublicApiAnalyzers (3)
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
Microsoft.CodeAnalysis.SemanticSearch.Extensions (1)
Microsoft.CodeAnalysis.Test.Utilities (15)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Microsoft.DotNet.Build.Tasks.Installers (7)
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
Microsoft.DotNet.Build.Tasks.Workloads (3)
Microsoft.DotNet.PackageTesting (8)
Microsoft.DotNet.SetupNugetSources.Tests (3)
Microsoft.DotNet.SharedFramework.Sdk (16)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.XliffTasks (4)
Microsoft.Maui.Resizetizer (12)
Microsoft.VisualStudio.LanguageServices (22)
ProjectSystem\Logging\RoslynWorkspaceStructureLogger.cs (22)
96document.Add(workspaceElement);
107workspaceElement.Add(projectElement);
122projectElement.Add(msbuildReferencesElement);
127projectElement.Add(dteReferencesElement);
131projectElement.Add(workspaceReferencesElement);
135workspaceReferencesElement.Add(CreateElementForPortableExecutableReference(metadataReference));
146workspaceReferencesElement.Add(referenceElement);
149projectElement.Add(new XElement("workspaceDocuments", await CreateElementsForDocumentCollectionAsync(project.Documents, "document", cancellationToken)));
150projectElement.Add(new XElement("workspaceAdditionalDocuments", await CreateElementsForDocumentCollectionAsync(project.AdditionalDocuments, "additionalDocuments", cancellationToken)));
152projectElement.Add(new XElement("workspaceAnalyzerConfigDocuments", await CreateElementsForDocumentCollectionAsync(project.AnalyzerConfigDocuments, "analyzerConfigDocument", cancellationToken)));
161projectElement.Add(compilationReferencesElement);
165compilationReferencesElement.Add(CreateElementForPortableExecutableReference(reference));
168projectElement.Add(CreateElementForCompilation(compilation));
172projectElement.Add(diagnosticsElement);
176diagnosticsElement.Add(
222msbuildReferencesElement.Add(msbuildProject.Descendants(msbuildNamespace + "ProjectReference"));
223msbuildReferencesElement.Add(msbuildProject.Descendants(msbuildNamespace + "Reference"));
224msbuildReferencesElement.Add(msbuildProject.Descendants(msbuildNamespace + "ReferencePath"));
262dteReferences.Add(new XElement("projectReference", new XAttribute("projectName", reference.SourceProject.Name)));
266dteReferences.Add(new XElement("metadataReference",
338typesElement.Add(new XElement("type", new XAttribute("name", type.ToDisplayString())));
368documentElement.Add(new XElement("loadDiagnostic", loadDiagnostic));
Microsoft.VisualStudio.LanguageServices.Implementation (2)
RepoTasks (4)
Roslyn.Diagnostics.Analyzers (3)
Roslyn.Test.PdbUtilities (1)
System.Private.Xml.Linq (16)
Test.Utilities (3)
Text.Analyzers (3)
XmlFileLogger (16)
xunit.console (3)