Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Description of Problem:
Steps to reproduce the problem:
1. Create a new Asp.Net MVC Application (without unit tests)
2. Try to even do a @Html.BeginForm() call, a @Html.TextBoxFor() call, or dang near anything
Various Exceptions like calling a method that doesn't exist.
A <Form> tag in the output, or a TextBox (<Input> being created)
How often does this happen?
MVC 5 isn't supported, but there are no templates for any of the previous MVC apps that *ARE* supported by Mono - why can't I create an MVC 3 app - that is fully supported by Mono? I can't create anything useful at all with Xamarin, creating any kind of website as far as I can tell. I'm trying to create a Razor MVC page and everything I do craps out.
Furthermore, Reformatting, and Comment out, and Completion of code, and heck, even the basic syntax checking doesn't work. If I put in a call like @Html.TextBoxFor (p->p.foo) It says it is missing a closing ), and If I put in one then it is happy - of course, it shows a ')' after the text box when run in a Real environment (Visual Studio - cut and pasted the .cshtml file contents and sure enough, it worked just fine.
Tried dropping the version of the .Net it was built for to 4.0 and even 3.5 but that did nothing or threw errors because it was a template clearly designed for .Net 4.5 or greater.
I can't believe that anyone went as far as to say it was even creating a template and putting it out for people to use without support for an @Html.BeginForm() call!
Amazing. I was told by someone at work not to consider Mono for any website work in MVC, and OMG they are so right. That sucks, because it looks like I'll have to run the server under actual Windows and that means higher cost to run the box. (for the stupid OS)
It has been a year and 3 months, still no functioning version of MVC can be made by Xamarin Studio - WTF? I just got the latest, tried again to create a MVC app, and it "works" - IF you want to do MVC WITHOUT ANY forms!! And no controls on the forms. Sure, you can drop back to HTML and enter all the <form> and <input> tags yourself - but this is crazy. You should shelve the '5.x' version until it actually is supported, and provide a template for a WORKING version! Surely, you created a template back when it didn't work with a previous version and dropped that when 5.x came out? Well, I would expect that that version is now supported and works, where the junk you include is worthless still.
I also had it say that 3 packages needed to be updated, so I did and low and behold it didn't even build after that.
I simply want a MVC 3 or later app that works. No need for the bleeding edge, just give me something that works - or tell me how to create it.
ASP.NET support has been greatly improved in XS 6.0.