共用方式為


PythonProjectResource(String, String, String) Constructor

Definition

This method is retained only for compatibility.

public PythonProjectResource (string name, string executablePath, string projectDirectory);
new Aspire.Hosting.Python.PythonProjectResource : string * string * string -> Aspire.Hosting.Python.PythonProjectResource
Public Sub New (name As String, executablePath As String, projectDirectory As String)

Parameters

name
String

The name of the resource.

executablePath
String

The path to the executable used to run the python project.

projectDirectory
String

The path to the directory containing the python project.

Applies to