> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TemplateNotFoundException

> Thrown when a .NET SDK project template cannot be found in the installed SDK's templates folder.

## Definition

**Assembly:** CloudNimble.EasyAF.Tools.dll

**Namespace:** CloudNimble.EasyAF.Tools.Scaffolding

**Inheritance:** System.Exception

## Syntax

```csharp theme={"dark"}
CloudNimble.EasyAF.Tools.Scaffolding.TemplateNotFoundException
```

## Summary

Thrown when a .NET SDK project template cannot be found in the installed SDK's templates folder.

## Constructors

### &#x20;.ctor

Initializes a new instance of the [TemplateNotFoundException](https://easyaf.dev/api-reference/CloudNimble/EasyAF/Tools/Scaffolding/TemplateNotFoundException.md) class.

#### Syntax

```csharp theme={"dark"}
public TemplateNotFoundException(string shortName, string searchedPath, string targetFramework)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `shortName` | `string` | The short name of the template that was requested. |
| `searchedPath` | `string` | The folder that was searched for template packages. |
| `targetFramework` | `string` | The target framework the template was requested for. |

## Properties

### &#x20;SearchedPath

Gets the folder that was searched for template packages.

#### Syntax

```csharp theme={"dark"}
public string SearchedPath { get; }
```

#### Property Value

Type: `string`

### &#x20;ShortName

Gets the short name of the template that was requested (for example, `classlib`).

#### Syntax

```csharp theme={"dark"}
public string ShortName { get; }
```

#### Property Value

Type: `string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.