I have configured for other projects to publish the .Net project using Jenkins and they all worked well. I'm using this command:
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" %WORKSPACE%\Source\test1.sln /T:Clean /T:Rebuild.
But this didn't work for ASP.NET core project using Jenkins to build and publish. Manually, I can build and publish from Visual Studio 2017. Does anyone here know how to configure Jenkins to build and publish ASP.Net CORE project using Jenkins.