📚 ConnectSoft Developer Internal Guide¶
Welcome to ConnectSoft Templates!
This guide explains how to install, use, and maintain our internal .NET solution templates for building high-quality projects efficiently.
🎯 Overview¶
ConnectSoft templates are distributed privately via our Azure DevOps Artifacts feed.
They are available through the standard .NET CLI (dotnet new) and automatically appear in Visual Studio after installation.
No VSIX installation is needed.
🛠 Prerequisites¶
- ✅ .NET SDK 8 or 9
- ✅ Access to the ConnectSoft Azure DevOps organization
- ✅ Basic familiarity with command-line tools
🚀 Install a Template¶
Step 1: Download the Template Package¶
- Go to Azure DevOps ➔ Artifacts ➔ ConnectSoft Feed.
- Find the required template package (e.g., ConnectSoft.LibraryTemplate.Installer).
- Download the
.nupkgfile manually to your local machine.
Example file:
ConnectSoft.LibraryTemplate.Installer.1.0.0.nupkg
Step 2: Install the Downloaded Template¶
Use the dotnet new install command to install from the downloaded .nupkg:
✅ Replace ./path/to/ with the actual folder where you downloaded the file.
After installation:
- Templates are available via CLI (
dotnet new) - Templates appear inside Visual Studio ➔ New Project Wizard
🏗️ Create a Project from a Template¶
Once installed, create a new project:
Options:
--name➔ Sets the project folder and project name.
🔄 Updating Templates¶
When new versions of templates are published, you should update locally.
To update:¶
- Download the newer
.nupkgfrom Azure Artifacts manually. - Uninstall the old version:
- Install the new version:
✅ Always keep templates updated to benefit from improvements and fixes.
📋 List Installed Templates¶
To see all installed templates:
Look for templates prefixed with ConnectSoft.
🛠 Troubleshooting¶
| Issue | Solution |
|---|---|
| Cannot install directly from Azure DevOps | Manual download of .nupkg is required. |
| Feed access issues | Ensure you have Azure DevOps access; contact DevOps Team if needed. |
| Template not appearing in Visual Studio | Close Visual Studio and reopen after template installation. |
| Multiple versions conflict | Use dotnet new uninstall to remove old versions before reinstalling. |
👥 Support¶
If you encounter any issues:
- Contact the ConnectSoft DevOps Team
- Open an internal support ticket via ConnectSoft DevOps Portal
✅ Quick Commands Reference¶
| Action | Command |
|---|---|
Download .nupkg manually |
Via Azure DevOps Artifacts |
| Install template from file | dotnet new install ./path/to/ConnectSoft.LibraryTemplate.Installer.1.0.0.nupkg |
| Create project from template | dotnet new connectsoft-library --name MyLibrary |
| List installed templates | dotnet new --list |
| Uninstall old templates | dotnet new uninstall ConnectSoft.LibraryTemplate.Installer |