Last post Jan 25, 2017 06:23 PM by EuroEager
Jan 18, 2017 08:34 PM|EuroEager|LINK
I developed a small MVC Core project on W10 and VS2017RC.
This works fine running Kestrel with dotnet run.
Now I would like to run the same server on Windows Server 2016 without any Visual Studio installed.
How to proceed ? What to install on the Server 2016 ?
dotnet command is not recognized there
Jan 18, 2017 08:45 PM|Radomir|LINK
Try installing the runtime/sdk only:
Jan 18, 2017 08:58 PM|EuroEager|LINK
Thanks, that solved the dotnet run command it self.
Next problem is that it says: "The current project is not valid because ... error DOTNET1017...Project file does not exist... \project.json does not exist, but that does not exist on the development machine either, but works fine there.
Jan 18, 2017 09:38 PM|Radomir|LINK
IMHO don't use "dotnet run" deploy the project and just execute it with dotnet <dllname>
see some discussion on this thread:
Jan 20, 2017 03:24 AM|Prasanna Murali|LINK
To deploy an MVC Project in windows server configure IIS manager from Programming and features. the step by step installation for IIS manager is given below.
Jan 21, 2017 08:20 PM|EuroEager|LINK
Don't know why, but VS21017R RC (ASP.NET Core Web Application (.NET Core) template) does not generate project.json.
Anyone knows why so ?
Jan 21, 2017 10:15 PM|nbrglobalinc|LINK
They did away with project.json in VS2017 and went back to focusing on .csproj.
Jan 22, 2017 02:46 PM|maherjendoubi|LINK
Starting from VS2017 RC, project.json is removed and its content is placed in XML format into your csproj file.
Jan 25, 2017 06:23 PM|EuroEager|LINK
On the other machine I installed from the SDK installer at
Anyway, it keeps complaining that project.json is missing (which is correct, it is missing because the project was created with latest VS2017RC).
Why don't they update the SDK ?