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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for