Hi, > > I think mcs see /resource:resources/WebUIValidation.js as a file to > > compile... (because there's a slash before resource) > > It's compilable now.
Nope. Can't get mcs to compile from source... System.Web.UI.WebControls/BoundField.cs(111,25): warning CS0114: `System.Web.UI.WebControls.BoundField.HeaderText' hides inherited member `System.Web.UI.WebControls.DataControlField.HeaderText'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword System.Web.UI.WebControls/DataControlField.cs(308,4):: `System.Web.UI.WebControls.DataControlField.HeaderText.set' (name of symbol related to previous warning System.Web.UI.WebControls/RoleGroupCollection.cs(111,15): warning CS0114: `System.Web.UI.WebControls.RoleGroupCollection.OnValidate(object)' hides inherited member `System.Collections.CollectionBase.OnValidate(object)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword /home/paul/mcs/class/lib/net_2_0/mscorlib.dll: `System.Collections.CollectionBase.OnValidate(object)' (name of symbol related to previous warning System.Web.Compilation/AspComponentFoundry.cs(43,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/AspComponentFoundry.cs(153,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/Directive.cs(80,47): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/Directive.cs(80,4): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/TagAttributes.cs(55,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Compilation/TagAttributes.cs(162,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Configuration/CompilationConfiguration.cs(81,22): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Configuration/CompilerCollection.cs(45,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web.Configuration/GlobalizationConfiguration.cs(62,27): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web.Configuration/GlobalizationConfiguration.cs(65,23): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Configuration/HttpRuntimeConfig.cs(73,21): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Configuration/PagesConfiguration.cs(72,22): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpApplication.cs(147,50): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web/HttpApplication.cs(994,91): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web/HttpApplication.cs(1088,43): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpCacheVaryByHeaders.cs(72,59): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web/HttpCacheVaryByParams.cs(47,58): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web/HttpContext.cs(169,33): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpContext.cs(454,9): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web/HttpRequest.cs(582,63): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web/HttpRequest.cs(1325,9): warning CS0219: The variable `bl' is assigned but its value is never used System.Web/HttpRequest.cs(1324,9): warning CS0219: The variable `ll' is assigned but its value is never used System.Web.Mail/MailMessageWrapper.cs(54,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(55,38): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(59,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(60,45): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(64,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(65,45): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(69,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(70,46): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(75,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(78,38): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(80,37): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(80,68): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(83,19): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(87,32): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(96,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(97,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(103,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(104,32): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(107,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(108,36): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(112,22): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(116,61): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(121,62): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(126,61): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(132,22): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(160,18): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(174,37): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(175,45): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(50,9): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(180,27): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(193,27): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(194,20): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(198,27): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(199,20): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(197,20): warning CS0618: `System.Web.Mail.MailFormat' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.IsBodyHtml.' System.Web.Mail/MailMessageWrapper.cs(215,27): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(216,20): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(214,22): warning CS0618: `System.Web.Mail.MailPriority' is obsolete: `The recommended alternative is System.Net.Mail.MailPriority.' System.Web.Mail/MailMessageWrapper.cs(220,27): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(221,20): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(229,27): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(234,27): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(242,37): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(243,54): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/MailMessageWrapper.cs(46,22): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/SmtpClient.cs(186,23): warning CS0618: `System.Web.Mail.MailAttachment' is obsolete: `The recommended alternative is System.Net.Mail.Attachment.' System.Web.Mail/SmtpClient.cs(186,3): warning CS0618: `System.Web.Mail.MailAttachment' is obsolete: `The recommended alternative is System.Net.Mail.Attachment.' System.Web.Mail/SmtpClient.cs(188,39): warning CS0618: `System.Web.Mail.MailAttachment' is obsolete: `The recommended alternative is System.Net.Mail.Attachment.' System.Web.Mail/SmtpClient.cs(198,39): warning CS0618: `System.Web.Mail.MailAttachment' is obsolete: `The recommended alternative is System.Net.Mail.Attachment.' System.Web.Mail/SmtpClient.cs(208,9): warning CS0618: `System.Web.Mail.MailAttachment' is obsolete: `The recommended alternative is System.Net.Mail.Attachment.' System.Web.Mail/SmtpMail.cs(114,26): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web.Mail/SmtpMail.cs(114,4): warning CS0618: `System.Web.Mail.MailMessage' is obsolete: `The recommended alternative is System.Net.Mail.MailMessage.' System.Web/MimeTypes.cs(42,63): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web/QueueManager.cs(49,45): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web.Security/FormsAuthentication.cs(94,32): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Security/FormsAuthentication.cs(120,42): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web.Security/FormsAuthentication.cs(198,42): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web.Security/FormsAuthentication.cs(342,27): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Security/FormsAuthenticationModule.cs(61,45): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Security/FormsAuthenticationModule.cs(113,45): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.Security/UrlAuthorizationModule.cs(61,63): warning CS0618: `System.Web.HttpContext.GetConfig(string)' is obsolete: `see GetSection' System.Web.SessionState/SessionStateModule.cs(94,42): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web/StaticSiteMapProvider.cs(107,40): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' System.Web/TraceManager.cs(52,51): warning CS0618: `System.Web.HttpContext.GetAppConfig(string)' is obsolete: `see WebConfigurationManager' System.Web.UI/TemplateParser.cs(400,26): warning CS0618: `System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete: `' System.Web.UI.HtmlControls/HtmlHead.cs(162,55): error CS0122: `System.Web.UI.CssStyleCollection.BagToString()' is inaccessible due to its protection level make[8]: *** [../../class/lib/net_2_0/System.Web.dll] Error 1 make[7]: *** [do-all] Error 2 make[6]: *** [all-recursive] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [profile-do--net_2_0--all] Error 2 make[3]: *** [profiles-do--all] Error 2 make[2]: *** [all-local] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Lots of warnings, one error, no compiler :-( TTFN Paul P.S. Rebuild after update and make distclean. -- "Logic, my dear Zoe, is merely the ability to be wrong with authority" - Dr Who _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list