Tuesday, February 27, 2018

Publishing ASP.NET Core 1.1 with CSPROJ

Hello friends.

We're currently going through a transitional period from ASP.NET Core 1.0 to 1.1

As we've already seen, project.json is being depreciated in favor of .csproj in version 1.1.

My issue is that I'm running a linux server with the latest .NET Core 1.1 version. So I would assume it would publish via .csproj but it continues to tell me I'm missing project.json, can anyone let me know how to publish (compile) my web application sitting on my server via .csproj?

Obviously I've tried to use dotnet publish, this is the command that tells me project.json is required but this isn't a 1.0 application, it never was. It was created within VS2017 with ASP.NET Core 1.1 using .NET Core 1.1.

I've already searched this and /r/aspnet and could not find a suitable answer. Stackoverflow doesn't have any suitable answers for me. How are you guys compiling 1.1 web applications on a linux distro?

Publishing ASP.NET Core 1.1 with CSPROJ Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team