CommandLineArguments.GetOutputFilePath(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.