28 references to DotnetCliTool
NuGet.Build.Tasks (2)
BuildTasksUtility.cs (1)
113
ProjectStyle.
DotnetCliTool
,
GetRestoreDotnetCliToolsTask.cs (1)
88
properties.Add("ProjectStyle", ProjectStyle.
DotnetCliTool
.ToString());
NuGet.Commands (22)
RestoreCommand\RequestFactory\DependencyGraphSpecRequestProvider.cs (1)
114
if (request.Request.ProjectStyle == ProjectStyle.
DotnetCliTool
)
RestoreCommand\RequestFactory\NoOpRestoreResult.cs (1)
42
var isTool = ProjectStyle == ProjectStyle.
DotnetCliTool
;
RestoreCommand\RequestFactory\RestoreArgs.cs (1)
193
else if (request.ProjectStyle != ProjectStyle.
DotnetCliTool
)
RestoreCommand\RestoreCommand.cs (6)
660
&& _request.ProjectStyle == ProjectStyle.
DotnetCliTool
)
1323
if (_request.Project.RestoreMetadata.ProjectStyle == ProjectStyle.
DotnetCliTool
)
1464
if (_request.ProjectStyle == ProjectStyle.
DotnetCliTool
&& _request.AllowNoOp)
1492
if (_request.ProjectStyle == ProjectStyle.
DotnetCliTool
)
1529
if (_request.ProjectStyle == ProjectStyle.
DotnetCliTool
)
2299
context.IsMsBuildBased = request.ProjectStyle != ProjectStyle.
DotnetCliTool
;
RestoreCommand\RestoreResult.cs (1)
189
var isTool = ProjectStyle == ProjectStyle.
DotnetCliTool
;
RestoreCommand\Utility\MSBuildRestoreUtility.cs (5)
107
|| spec.RestoreMetadata.ProjectStyle == ProjectStyle.
DotnetCliTool
)
197
|| restoreType == ProjectStyle.
DotnetCliTool
224
|| restoreType == ProjectStyle.
DotnetCliTool
)
890
if (projectStyle == ProjectStyle.
DotnetCliTool
|| projectStyle == ProjectStyle.Unknown || projectStyle == ProjectStyle.PackagesConfig)
895
var needsAlias = projectStyle == ProjectStyle.
DotnetCliTool
;
RestoreCommand\Utility\NoOpRestoreUtilities.cs (4)
64
if (request.ProjectStyle == ProjectStyle.
DotnetCliTool
&& lockFile != null)
112
else if (request.ProjectStyle == ProjectStyle.
DotnetCliTool
)
202
if (request.Project.RestoreMetadata.ProjectStyle == ProjectStyle.
DotnetCliTool
)
246
if (request.ProjectStyle == ProjectStyle.
DotnetCliTool
)
RestoreCommand\Utility\SpecValidationUtility.cs (1)
117
if (projectStyle == ProjectStyle.
DotnetCliTool
)
RestoreCommand\Utility\ToolRestoreUtility.cs (2)
51
ProjectStyle = ProjectStyle.
DotnetCliTool
,
92
if (requestSummary.Request.Project.RestoreMetadata?.ProjectStyle == ProjectStyle.
DotnetCliTool
)
NuGet.PackageManagement (2)
BuildIntegration\DependencyGraphRestoreUtility.cs (2)
230
.FirstOrDefault(e => e.RestoreMetadata.ProjectStyle != ProjectStyle.
DotnetCliTool
);
273
packageSpec.RestoreMetadata.ProjectStyle == ProjectStyle.
DotnetCliTool
) // Don't add global tools to restore specs for solutions
NuGet.ProjectModel (2)
DependencyGraphSpec.cs (1)
464
if (project.RestoreMetadata.ProjectStyle != ProjectStyle.
DotnetCliTool
)
PackageSpecReferenceDependencyProvider.cs (1)
127
projectStyle == ProjectStyle.
DotnetCliTool
)