37 references to Command
Aspire.Hosting (2)
Dcp\DcpExecutor.cs (1)
963var exePath = executable.Command;
Publishing\ManifestPublishingContext.cs (1)
228Writer.WriteString("command", executable.Command);
Aspire.Hosting.NodeJs.Tests (10)
PackageInstallationTests.cs (7)
37Assert.All(nodeResources, resource => Assert.Equal("npm", resource.Command)); 62Assert.Equal("npm", nodeResource.Command); 86Assert.Equal("yarn", nodeResource.Command); 121Assert.Equal("yarn", nodeResource.Command); 147Assert.Equal("pnpm", nodeResource.Command); 182Assert.Equal("pnpm", nodeResource.Command); 359Assert.Equal("yarn", installer.Command);
ResourceCreationTests.cs (3)
26Assert.Equal("npm", resource.Command); 103Assert.Equal("npm", nodeResource.Command); 174Assert.Equal("npm", nodeResource.Command);
Aspire.Hosting.Python.Tests (19)
AddPythonAppTests.cs (19)
161Assert.Equal(Path.Join(projectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.Command); 165Assert.Equal(Path.Join(projectDirectory, ".venv", "bin", "python"), pythonProjectResource.Command); 199Assert.Equal(Path.Join(projectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.Command); 203Assert.Equal(Path.Join(projectDirectory, ".venv", "bin", "python"), pythonProjectResource.Command); 241Assert.Equal(Path.Join(projectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.Command); 245Assert.Equal(Path.Join(projectDirectory, ".venv", "bin", "python"), pythonProjectResource.Command); 407Assert.Equal(Path.Join(expectedProjectDirectory, "custom-venv", "Scripts", "python.exe"), pythonProjectResource.Command); 411Assert.Equal(Path.Join(expectedProjectDirectory, "custom-venv", "bin", "python"), pythonProjectResource.Command); 438Assert.Equal(Path.Join(tempVenvDir.Path, "Scripts", "python.exe"), pythonProjectResource.Command); 442Assert.Equal(Path.Join(tempVenvDir.Path, "bin", "python"), pythonProjectResource.Command); 524Assert.Equal("uv", uvEnvironmentResource.Command); 686Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.Command); 690Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "bin", "python"), pythonProjectResource.Command); 719Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.Command); 723Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "bin", "python"), pythonProjectResource.Command); 753Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "Scripts", $"{executableName}.exe"), pythonProjectResource.Command); 757Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "bin", executableName), pythonProjectResource.Command); 877var initialCommand = pythonBuilder.Resource.Command; 882var newCommand = pythonBuilder.Resource.Command;
Aspire.Hosting.Tests (6)
Dashboard\DashboardLifecycleHookTests.cs (4)
244Assert.Equal("dotnet", executableResource.Command); 330Assert.Equal("dotnet", executableResource.Command); 402Assert.Equal("dotnet", executableResource.Command); 472Assert.Equal("dotnet", executableResource.Command);
Dashboard\DashboardResourceTests.cs (2)
55Assert.Equal("dotnet", dashboard.Command); 246Assert.Equal("dotnet", dashboard.Command);