0

I am creating a dotnet core 2.1 mvc application. I use win 10 as development machine but my prod server is Linux. Is it OK to Build it on Windows machine Or should I use a Linux box to build and then deploy on prod? Any execution or references or performance issues I might face?

knowdotnet
  • 839
  • 1
  • 15
  • 29

1 Answers1

1

You cannot build on Windows and deploy the same on to Linux.

For eg: dotnet build --runtime ubuntu.16.04-x64

Look into the following on how to build specific to linux

skjagini
  • 3,142
  • 5
  • 34
  • 63