dotnet-buildpack-old
dotnet-buildpack-old copied to clipboard
No *.sln file found
Hi,
I have an ASP.NET application with Global.asax
file. And my application does not have an .sln
file. When I try to push my app to heroku, I got the following error:
-----> Fetching custom git buildpack... done
-----> ASP.NET app detected
-----> Bundling XSP v3.0.11
Fetching 3.0.11 @ http://s3.amazonaws.com/mono-dependencies/xsp-3.0.11.tar.gz
-----> Bundling Mono v3.2.8
Fetching Mono v3.2.8 @ http://s3.amazonaws.com/mono-dependencies/mono-3.2.8.tar.gz
Copying xsp libraries to the GAC
-----> Fetching fixed NuGet.targets
-----> No *.sln file found
! Push rejected, failed to compile ASP.NET app
From what I understand from https://github.com/friism/heroku-buildpack-mono/blob/master/bin/compile compiler looks for an .sln
file and when it can not find it terminates the push.
But in the readme file it says The buildpack will detect your app as ASP.NET if it has the file global.asax in the root or at one directory depth or as .NET if it has a .sln file.
How can we solve this? Thanks
Hm, that's a bug in the docs, actually - currently a solution file is required so that xbuild
can be invoked. What are you trying to build?
Well, to be honest I don't have any ASP.NET experience, and I'm trying to push a client's application to heroku. All I know is it is an ASP.NET MVC 4.0 application. Application's tree looks like this:
Hm, it looks like it's been compiled already - that scenario is not really supported with the way the buildpack is currently implemented, I'm afraid. You push source code, it gets built and then deployed.