Skip to content

Commit

Permalink
🍻 Improve template experience in VS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontaylordev committed Jul 8, 2023
1 parent b3b530c commit bda2610
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 8 deletions.
27 changes: 27 additions & 0 deletions .template.config/ide.host.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "http://json.schemastore.org/vs-2017.3.host",
"order": 0,
"icon": "icon.png",
"symbolInfo": [
{
"id": "ClientFramework",
"name": {
"text": "Client Framework"
},
"description": {
"text": "Select the Client Framework type, or select None for Web API only."
},
"isVisible": true
},
{
"id": "UseSQLite",
"name": {
"text": "Use SQLite"
},
"description": {
"text": "Use SQLite for database (default is LocalDB)."
},
"isVisible": true
}
]
}
10 changes: 5 additions & 5 deletions .template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
"datatype": "choice",
"choices": [
{
"choice": "angular",
"choice": "Angular",
"description": "Use Angular"
},
{
"choice": "react",
"choice": "React",
"description": "Use React"
},
{
"choice": "none",
"description": "Use Api Only"
"choice": "None",
"description": "Web API only"
}
],
"defaultValue": "angular",
"defaultValue": "Angular",
"description": "The type of client framework to use"
},
"UseAngular": {
Expand Down
4 changes: 2 additions & 2 deletions CleanArchitecture.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<metadata>

<id>Clean.Architecture.Solution.Template</id>
<version>8.0.0-preview.5.11</version>
<version>8.0.0-preview.5.12</version>
<title>Clean Architecture Solution Template</title>
<authors>JasonTaylorDev</authors>
<description>Clean Architecture Solution Template for .NET 8.</description>
<summary>
A Clean Architecture Solution Template for creating a Single-Page Application (SPA) with ASP.NET Core.
</summary>
<releaseNotes>
Fixed removal of WebUI.AcceptanceTests project for Web API template.
Improve template experience in Visual Studio IDE.
</releaseNotes>

<projectUrl>https://github.com/JasonTaylorDev/CleanArchitecture</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The template depends on the latest versions of:

The easiest way to get started is to install the [.NET template](https://www.nuget.org/packages/Clean.Architecture.Solution.Template):
```
dotnet new install Clean.Architecture.Solution.Template::8.0.0-preview.5.11
dotnet new install Clean.Architecture.Solution.Template::8.0.0-preview.5.12
```

Once installed, create a new solution using the template. You can choose to use Angular, React, or create a Web API-only solution. Specify the client framework using the `-cf` or `--client-framework` option, and provide the output directory where your project will be created. Here are some examples:
Expand Down

0 comments on commit bda2610

Please sign in to comment.