我正在試圖在openshift中使用VS-2017社區構建一個示例webapi項目,它使用.netcore 1.1模板,但是它的構建錯誤。openshift .netcore 1.1編譯錯誤
Cloning " https://github.com/kuntal-b/netcoreWebAPI " ... Commit: 84b604df745890311a7d23451c4bbef6552d1fb1 (2) Author: [email protected] Date: Thu May 25 23:11:27 2017 +0530 Pulling image "registry.access.redhat.com/dotnet/[email protected]:7c775cc11b280105f51bf2622ed79036c7f961e1cb9db23c4b17c66606154f7b" ... Pulling image "registry.access.redhat.com/dotnet/[email protected]:7c775cc11b280105f51bf2622ed79036c7f961e1cb9db23c4b17c66606154f7b" ... ---> Copying application source ... ---> Installing dependencies ... warn : The folder '/opt/app-root/src' does not contain a project to restore. ---> Building application ... Couldn't find 'project.json' in '.' error: build error: non-zero (13) exit code from registry.access.redhat.com/dotnet/[email protected]:7c775cc11b280105f51bf2622ed79036c7f961e1cb9db23c4b17c66606154f7b
建築應用...找不到在「project.json ''錯誤: .net core 1.1模板沒有project.json文件。
萬一有幫助,有在https://blog.openshift.com/category/technologies/dotnet/ –