AssemblyInfoFile Module
Contains tasks to generate AssemblyInfo files for C# and F#.
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
AssemblyInfoFile.create outputFileName attributes config
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
config : AssemblyInfoFileConfig option
-
The config file
|
Creates an AssemblyInfo file based in the correct language based on the file name with the given attributes and configuration. The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
|
Full Usage:
AssemblyInfoFile.createCSharp outputFileName attributes
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
|
Creates a C# AssemblyInfo file with the given attributes. The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
|
Full Usage:
AssemblyInfoFile.createCSharpWithConfig outputFileName attributes config
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
config : AssemblyInfoFileConfig
-
The config file
|
Creates a C# AssemblyInfo file with the given attributes and configuration. The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
|
Full Usage:
AssemblyInfoFile.createCppCli outputFileName attributes
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
|
|
Full Usage:
AssemblyInfoFile.createCppCliWithConfig outputFileName attributes config
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
config : AssemblyInfoFileConfig
-
The config file
|
Creates a C++/CLI AssemblyInfo file with the given attributes and configuration. Does not generate an AssemblyVersionInformation class.
|
Full Usage:
AssemblyInfoFile.createFSharp outputFileName attributes
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
|
Creates a F# AssemblyInfo file with the given attributes. The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
|
Full Usage:
AssemblyInfoFile.createFSharpWithConfig outputFileName attributes config
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
config : AssemblyInfoFileConfig
-
The config file
|
Creates a F# AssemblyInfo file with the given attributes and configuration. The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
|
Full Usage:
AssemblyInfoFile.createVisualBasic outputFileName attributes
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
|
Creates a VB AssemblyInfo file with the given attributes. The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
|
Full Usage:
AssemblyInfoFile.createVisualBasicWithConfig outputFileName attributes config
Parameters:
string
-
The output file name
attributes : seq<Attribute>
-
Sequence of attributes
config : AssemblyInfoFileConfig
-
The config file
|
Creates a VB AssemblyInfo file with the given attributes and configuration. The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
|
Full Usage:
AssemblyInfoFile.getAttribute attrName assemblyInfoFile
Parameters:
string
-
Name of the attribute without "Attribute" at the end.
assemblyInfoFile : string
-
The file to read from. Language C#, F#, VB or C++ is determined from
the extension.
Returns: Attribute option
|
|
Full Usage:
AssemblyInfoFile.getAttributeValue attrName assemblyInfoFile
Parameters:
string
-
Name of the attribute without "Attribute" at the end.
assemblyInfoFile : string
-
The file to read from. Language C#, F#, VB or C++ is determined from
the extension.
Returns: string option
|
Read the value of a single attribute from an AssemblyInfo file. Note that string values are returned with surrounding "".
|
Full Usage:
AssemblyInfoFile.getAttributes assemblyInfoFile
Parameters:
string
-
The file to read attributes from. Language C#, F#, VB or C++ is
determined from the extension.
Returns: seq<Attribute>
|
|
Full Usage:
AssemblyInfoFile.updateAttributes assemblyInfoFile attributes
Parameters:
string
-
The file to update. Language C#, F#, VB or C++ is determined from the
extension.
attributes : seq<Attribute>
-
The Attributes that should be updated matched on Name (Namespace is not used).
|
|