Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The type or namespace name HttpApplication' does not exist in the namespace System.Web'. Are you missing an assembly reference? #11

Open
kylehodgson opened this issue Jan 26, 2015 · 4 comments

Comments

@kylehodgson
Copy link

I'm trying to deploy a ServiceStack app (https://github.com/kylehodgson/servicestack-todo-backend) to Heroku on the mono buildpack. The deploy fails with an error (and some warnings):

Global.asax.cs(5,34): error CS0234: The type or namespace name `HttpApplication' does not exist in the namespace `System.Web'. Are you missing an assembly reference?

The full output is here: https://gist.github.com/kylehodgson/2b1e497bcf728fd9de4e

I'm getting similar errors with the TestingMono application too:
https://gist.github.com/kylehodgson/12b40d84abf0fa6685f2

Any ideas?

@molnargab
Copy link

It seems those assemblies aren't included in the packaged version of Mono your build uses.

You could build your own version though: there are links for this in the README section, and #2 has some details as well.

You could also check if those namespaces are indeed in their corresponding dll file, or perhaps something different.

@kylehodgson
Copy link
Author

OK, thanks. I'm a bit confused still. Is that something I change?

I assume the buildpack sets that. Should I go to a newer (or older) Mono? How do I do that?

@friism
Copy link
Owner

friism commented Feb 15, 2015

Hey Kyle, I'm sorry about this breakage. I'm travelling right now, but will try to get to this in a day or two.

@kylehodgson
Copy link
Author

No worries friism. I've forked it to work on it a bit. I'll let you know if I make progress. https://github.com/kylehodgson/heroku-buildpack-mono

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants