Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I am new to Mac os and i have installed Visual studio community for MAC and created my application in .net. Now I was looking for Publish option that usually appears with VS community in WINDOWS OS but it is not there.
How to publish the application to azure from Visual studio community for MAC?

What I have tried:

No publish option found on right clicking the solution.
Posted
Updated 19-Sep-18 21:15pm

I found the answer for my question and posting it here.

Following are the steps to deploy our application to the website created:

(Note: As The Mac system does not have an option to publish directly from Visual studio, I have used Visual Studio Code for deployment Via Git)

1. Open the application in Visual Studio Code, choose the Git (installed locally)-> click Initialize Git Repository, then commit the changes made.
2. Now click on Explorer and right click on the panel-> choose open in terminal
3. Now enter the following commands in the terminal:
git remote add azure ________(the URL should be copied from the azure portal under Git Clone URL).
4. git push -u azure master (here the code in master branch of git is being pushed to azure branch created in previous step with the URL).
5. Now enter the password created in azure portal.

As the result it should push the code and becomes successful deployment.
 
Share this answer
 
I am having the same issue and it looks like there is no answer to the question on multiple forums. Did you ever figure it out?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900