I've found instructions for deploying directly to Azure, but not a lot for deploying to just a local folder. There doesn't seem to be anything under the menus or add-ons that seemed to do it either. Maybe it's a command line tool?
Asked
Active
Viewed 837 times
0
-
where do you want to deploy ? local folder in your mac ? – Shyju Oct 24 '17 at 23:32
-
@Shyju Yes, local folder. – Jhorra Oct 25 '17 at 00:24
1 Answers
1
I found the answer, or at least an answer. I couldn't find any way to publish from within Visual Studio for Mac, but just using the command line I was able to do it.
This is the website I found the answer on: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish?tabs=netcore2x
This was the commands I found in case that site goes down.
dotnet publish [<PROJECT>] [-c|--configuration] [-f|--framework] [--force] [--manifest] [no-dependencies] [--no-restore] [-o|--output] [-r|--runtime] [--self-contained] [-v|--verbosity] [--version-suffix]
dotnet publish [-h|--help]

Jhorra
- 6,233
- 21
- 69
- 123
-
1Currently only publishing to Azure is supported by Visual Studio for Mac. There are plans to support publishing to other locations similar to what Visual Studio on Windows supports. – Matt Ward Oct 25 '17 at 09:28