-
Notifications
You must be signed in to change notification settings - Fork 1
AssemblyInfo
rosaliafx edited this page Dec 2, 2015
·
4 revisions
AssemblyInfo package has a single task GenerateAssemblyInfo
that generates AssemblyInfo.cs
file for your solution.
NuGet install (Make sure to set Pre-Release option):
PM> Install-Package Rosalia.TaskLib.AssemblyInfo
Generates AssemblyInfo.cs
file with provided set of attributes and saves it to a file.
Input | List of attributes, Output file path |
Output | none |
ITaskFuture<Nothing> = Task(
"GenerateAssemblyInfo",
new GenerateAssemblyInfo(WorkDirectory/"Src"/"CommonAssemblyInfo.cs")
{
Attributes =
{
_ => new AssemblyProductAttribute("MyProjectName"),
_ => new AssemblyVersionAttribute("1.0.0.0"),
_ => new AssemblyFileVersionAttribute("1.0.0.0")
}
});
Writing Tasks
- Creating a Workflow
- Defining Tasks
- Share State accross Tasks
- Mastering Dependencies
- Using result transformers
- Using Subflows to organize tasks
- Tasks Preconditions
- Recovering failure results
- Declaring dynamic tasks
- Creating Custom Tasks
Running Tasks
API
Tasklib