Page 1 of 1

production server

Posted: Sun Dec 11, 2016 5:32 am
by ahosny1

I tried publishing to a win2008r2 running asp.net core hosting version
The dependencies is not installed, do I have to install sdk and restore on server itself ?


Re: production server

Posted: Tue Dec 13, 2016 11:23 am
by motfs

ahosny1 wrote:
I tried publishing to a win2008r2 running asp.net core hosting version
The dependencies is not installed, do I have to install sdk and restore on server itself ?

You need to install the Windows Server Hosting runtime on your server: https://www.microsoft.com/net/download/ ... ts/runtime

If you check the option "Publish", the dependencies should be restored for you in the publish folder. Read the following document about publishing to IIS for more details:

https://docs.microsoft.com/en-us/aspnet ... ishing/iis