Closed Allwyn-K-Geevarughese closed 2 years ago
Hello @Allwyn-K-Geevarughese
Could you please provide the full log?
Hello, I'm having the same issue. My full build log is:
-----> Building on the Heroku-20 stack
-----> Using buildpack: https://github.com/jincod/dotnetcore-buildpack
-----> Core .NET app detected
> Installing dotnet
-----> Removing old cached .NET version
-----> Fetching .NET SDK
-----> Fetching .NET Runtime
-----> Export dotnet to Path
find: ‘/tmp/build_8bd7cef7\n.\n.\n1’: No such file or directory
-----> Project File
>
basename: missing operand
Try 'basename --help' for more information.
! Push rejected, failed to compile Core .NET app.
! Push failed
The project I'm trying to host onto heroku is https://github.com/iamfranco/DrinksWebAPI
If you could help me that would be great, many thanks.
Hello @iamfranco,
Thank you for the log. I think the error due to csproj contains spaces in the filename.
ah thank you so much!!
I took your advice and remove the spaces in the .csproj
filename and also in the folder name,
now it builds and deploys successfully👍
basename: missing operand Try 'basename --help' for more information. ! Push rejected, failed to compile ASP.NET Core app. ! Push failed... Could you please help me