Post Impatica
Post Impatica

Reputation: 16433

Visual Studio for Mac 2017 only allows publish to Azure

Why does VS2017 for Mac only allow you to publish a .net core web api to Azure. There is no other option. Is it because I'm using the community edition? If there is no other option beside Azure, how then do I publish?

Upvotes: 0

Views: 556

Answers (1)

Post Impatica
Post Impatica

Reputation: 16433

Found this little jewel that will answer all your .net core questions as well as how to publish in IIS: Thank you Rick Strahl

But basically I ran this command to publish (win7-x64 is an RID for Windows 2008R2):

dotnet publish -c Release -r win7-x64 -f netcoreapp2.0

Upvotes: 1

Related Questions