Bug 14888 - C# "web Application" template application gives build error.
Summary: C# "web Application" template application gives build error.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: 4.0.13
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-09-20 15:00 UTC by Atin
Modified: 2015-09-17 09:35 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 Developer Community or GitHub 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.

Related Links:

Description Atin 2013-09-20 15:00:21 UTC
Step to reproduce:
1. Create C# Web Application through C#-> ASP.NET-> Web Application
2. Build the application

Actual result:
It gives build error "Error CS1061: Type `System.Web.UI.HtmlControls.HtmlButton' does not contain a definition for `Text' and no extension method `Text' of type `System.Web.UI.HtmlControls.HtmlButton' could be found. Are you missing an assembly reference? (CS1061)".

Note: On windows with XS 4.0.13(build 37) it is working fine.

Expected result:
Application should build and run successfully.

Build error: https://gist.github.com/AkhileshKumar01/816143cfa456b9fd6503

Environment info:
=== Xamarin Studio ===

Version 4.0.13 (build 37)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
	Mono 3.2.3 ((no/8d3b4b7)
	GTK+ 2.24.20 theme: Raleigh
	GTK# (
	Package version: 302030000

=== Apple Developer Tools ===

Xcode 4.6.3 (2068)
Build 4H1503

=== Xamarin.Mac ===

Xamarin.Mac: 1.6.13

=== Xamarin.Android ===

Version: 4.8.2 (Enterprise Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: aa35ba3
Build date: 2013-18-09 16:42:48-0400

=== Build Information ===

Release ID: 400130037
Git revision: c66520a8992149ce9ceb50106fd3b85b74904704
Build date: 2013-09-18 12:26:11+0000
Xamarin addins: a6908312c9ad3e40f09ad731f444cad06ddf1546

=== Operating System ===

Mac OS X 10.7.5
Darwin Jatin66s-iMac.local 11.4.2 Darwin Kernel Version 11.4.2
    Thu Aug 23 16:25:48 PDT 2012
    root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64

Regression Status: Regression. Working fine with Stable XS 4.0.12(Build 3).
Comment 1 Matt Ward 2015-09-17 09:35:26 UTC
Unable to reproduce this with Xamarin Studio 5.9.