Get-Project(Visual Studio의 패키지 관리자 콘솔)

Windows의 Visual Studio에서 패키지 관리자 콘솔 내에서만 사용할 수 있습니다.

기본 또는 지정된 프로젝트에 대한 정보를 표시합니다. Get-Project 특히 프로젝트에 대한 Visual Studio DTE(개발 도구 환경) 개체에 대한 참조를 반환합니다.

구문

Get-Project [[-Name] <string>] [-All] [<CommonParameters>]

매개 변수

매개 변수 Description
이름 표시할 프로젝트를 지정합니다. 기본값은 패키지 관리자 콘솔에서 선택한 기본 프로젝트입니다. -Name 스위치 자체는 선택 사항입니다.
모두 솔루션의 모든 프로젝트에 대한 정보를 표시합니다. 프로젝트의 순서는 결정적이지 않습니다.

이러한 매개 변수 중 어느 것도 파이프라인 입력 또는 와일드카드 문자를 허용하지 않습니다.

일반 매개 변수

Get-Project 는 디버그, 오류 작업, ErrorVariable, OutBuffer, OutVariable, PipelineVariable, Verbose, WarningAction 및 WarningVariable과 같은 일반적인 PowerShell 매개 변수를 지원합니다.

# Displays information for the default project
Get-Project

# Displays information for a project in the solution
Get-Project MyProjectName

    # Displays information for all projects in the solution
Get-Project -All