diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 0c44f6b..05f542e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,16 +1,21 @@ { - "version": "0.1.0", + "version": "2.0.0", "command": "dotnet", - "isShellCommand": true, "args": [], "tasks": [ { - "taskName": "build", + "label": "build", + "type": "shell", + "command": "dotnet", "args": [ + "build", "${workspaceRoot}/sample/NToastNotify.Web/NToastNotify.Web.csproj" ], - "isBuildCommand": true, - "problemMatcher": "$msCompile" + "problemMatcher": "$msCompile", + "group": { + "_id": "build", + "isDefault": false + } } ] } \ No newline at end of file diff --git a/README.md b/README.md index b4c9158..1390ca7 100644 --- a/README.md +++ b/README.md @@ -226,7 +226,12 @@ public class HomeController : Controller **FIX** If you are using CookieTempDataProvider (this is the default) you need to accept cookie policy prompt. ## Running the repo locally - + - `npm install` + - `npm build` + - `dotnet restore` + - `dotnet build` + + Run any sample project using `dotnet run` from sample project dir # [Become a patreon](https://www.patreon.com/nabinkt) diff --git a/samples/Noty/Noty.csproj b/samples/Noty/Noty.csproj index a5b6801..f3baf04 100644 --- a/samples/Noty/Noty.csproj +++ b/samples/Noty/Noty.csproj @@ -8,7 +8,7 @@ - + diff --git a/samples/Toastr/Toastr.csproj b/samples/Toastr/Toastr.csproj index 00ca8c5..d677ca9 100644 --- a/samples/Toastr/Toastr.csproj +++ b/samples/Toastr/Toastr.csproj @@ -8,7 +8,7 @@ - +