Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to publish asp.net core application on linux or mac os?

I am creating one asp.net core application on widows platform using visual studio.I want to publish this application on Linux and mac os.

How can I do this and what configuration is required?

like image 445
baj9032 Avatar asked Sep 03 '25 02:09

baj9032


1 Answers

https://learn.microsoft.com/en-us/aspnet/core/publishing/linuxproduction

tested and working. you can also copy the project in linux distro then you can do dotnet restore and publish

like image 158
mark.hs Avatar answered Sep 05 '25 02:09

mark.hs