For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
Generates a temporary code file from the specified generated code fragment. Does not delete the file.
The following table describes the parameters of the
Description of the attributes to write. The item
Each metadata is the name-value pair of a parameter, which must be of type
A parameter index cannot be skipped.
Specifies the language of the code to generate.
|Optional ITaskItem parameter.|
Specifies the destination folder for the generated code, typically the intermediate folder.
|Optional ITaskItem output parameter.|
Specifies the path of the file that was generated. If this parameter is set by using a file name, the destination folder is prepended to the file name. If it is set by using a root, the destination folder is ignored.
If this parameter is not set, the output file name is the destination folder, an arbitrary file name, and the default file name extension for the specified language.
In addition to having the parameters that are listed in the table, this task inherits parameters from the TaskExtension class, which itself inherits from the Task class. For a list of these additional parameters and their descriptions, see TaskExtension Base Class.