Prerequisites
Before you begin developing Intent Architect Modules, ensure you have the following tools installed on your development machine.Required Software
Install .NET SDK
Install the latest versions of .NET SDK. The project currently requires:
- .NET 8 SDK - Primary development framework
- .NET 9 SDK - Required for Software Factory CLI
- .NET 10 SDK - Latest runtime support
Install Node.js and TypeScript
TypeScript is required for compiling Designer Macro files.Verify TypeScript installation:
- Install Node.js from nodejs.org
- Install TypeScript globally:
Install Git
Git is required for version control and cloning the repository.Configure Git to handle long paths (required for this repository):
Install PowerShell (cross-platform)
PowerShell 7+ is required for running build and validation scripts.Download from github.com/PowerShell/PowerShell
Recommended Tools
Visual Studio
Visual Studio 2022 or later with .NET workload installed. Provides excellent C# development experience.
Visual Studio Code
Lightweight alternative with C# and PowerShell extensions for cross-platform development.
JetBrains Rider
Full-featured .NET IDE with excellent refactoring and testing capabilities.
ReSharper
Visual Studio extension for enhanced code quality and productivity.
Repository Setup
Repository Structure
Understanding the repository layout will help you navigate and contribute effectively:Key Directories
- Modules/ - Contains all active module projects. Each module is a separate C# project.
- Tests/ - Contains the Intent Architect test solution (
Intent.Modules.Tests.isln) and test projects. - PipelineScripts/ - PowerShell scripts for building, testing, and validating modules.
- DesignerMacros/ - TypeScript source for designer-level automation and macros.
Installing Intent Architect
To develop and test modules, you’ll need Intent Architect installed:Download Intent Architect
Download the latest version from intentarchitect.com
Install Software Factory CLI
Install the Intent Software Factory CLI tool:For development/nightly builds:
Working with the Test Solution
The repository includes an Intent Architect test solution for validating modules:- Test module functionality in a real Intent Architect environment
- Validate template outputs
- Ensure modules integrate correctly with other modules
Pre-Commit Validation
Before committing changes, run the pre-commit checks to ensure everything passes:- Pre-build validations
- Software Factory change checks
- Full module build
- Test solution verification
- Test project build
The pre-commit script remembers successfully completed phases. Use
-Reset to start from the beginning.Common Issues
Long path errors on Windows
Long path errors on Windows
Windows has a 260-character path limit by default. Enable long paths:Or enable it system-wide in Windows settings (requires admin).
NuGet restore failures
NuGet restore failures
If package restore fails:
- Clear NuGet caches:
- Restore with force evaluation:
TypeScript compilation errors
TypeScript compilation errors
Ensure TypeScript is installed globally:Then compile designer macros:
Build version mismatches
Build version mismatches
If you encounter version mismatches:
- Update module versions according to semantic versioning
- Update
modules.configin test projects - Run validation script to check for discrepancies
Next Steps
Now that your environment is set up:- Review Coding Standards to understand our conventions
- Learn about Testing to write effective tests
- Check out the Pull Request Process when you’re ready to contribute