The following pages will go over how to download, install and upgrade the CSLA templates.
- Downloading the CSLA templates.
- Installing the CSLA Templates.
- Upgrading the CSLA templates.
Installing the CSLA Templates
...
- Install the CodeSmith.Generator.CSLA NuGet package to a new or existing CSharp or Visual Basic project.
- Open the NuGet Package Manager Console.
- Type Install-Package CodeSmith.Generator.CSLA into the console and press enter.
- Configure the newly created Entities.csp CodeSmith Generator Project file.
- Start by opening Manage Outputs and select Edit Output.
- Configure the Entities.cst template.
- Save You will first need to open the Manage Outputs dialog. You can do this by right clicking on the Entities.csp file and selecting Manage Outputs.
- Next, double click on the Entities.cst template output or right click and select Edit Output.
- Next, configure what gets generated by choosing a Source Database. You can accomplish this by selecting the (...) button next to the SourceDatabase property.
- Finally, save your configured properties by clicking the OK button.
- Right click the Entities.csp and select Generate.