Udostępnij za pośrednictwem


CommandLineArguments.GetOutputFilePath(String) Method

Definition

Returns a full path of the file that the compiler will generate the assembly to if compilation succeeds.

public string GetOutputFilePath (string outputFileName);
member this.GetOutputFilePath : string -> string
Public Function GetOutputFilePath (outputFileName As String) As String

Parameters

outputFileName
String

Returns

Remarks

The method takes outputFileName rather than using the value of OutputFileName since the latter might be unspecified, in which case actual output path can't be determined for C# command line without creating a compilation and finding an entry point. VB does not allow OutputFileName to be unspecified.

Applies to