For publishing, open up a new terminal/command prompt and follow the following steps.
- Change the directory to the KTDASMS folder
For example, this is what i need to type to access that folder on my local machine, do the same on your machine changing the path shown below to reflect the location of the KTDASMS folder on your machine
cd "C:\Users\tmacharia\Downloads\Notifyr 2.0\Notifyr 2.0\KTDASMS"
- Confirm that the cmd path successfully changed to the path you typed.
- Before publishing, type the clean command inorder to remove older versions from the publish folder. Here's the command for cleaning.
dotnet clean
- It's now time to publish. Type the following command to publish.
dotnet publish -c Release
- Once the command finishing processing, you should be able to see the publish artifacts in the location below.
~\bin\Release\netcoreapp3.1\publish