컴파일러 오류 CS2019

업데이트: 2007년 11월

오류 메시지

/target의 대상 형식이 잘못되었습니다. 'exe', 'winexe', 'library' 또는 'module'을 지정해야 합니다.
Invalid target type for /target: must specify 'exe', 'winexe', 'library', or 'module'

/target 컴파일러 옵션을 사용했지만 잘못된 매개 변수를 전달했습니다. 이 오류를 해결하려면 출력 파일에 적합한 /target 옵션 형식을 사용하여 프로그램을 다시 컴파일하십시오.

다음 샘플에서는 CS2017 오류가 발생하는 경우를 보여 줍니다.

// CS2019.cs
// compile with: /target:libra
// CS2019 expected
class MyClass
{
}