I'm using VS 2005 beta2 trying to create a web service. When I compile my
windows forms control project (the client) the reference.cs file returns an
error that the web service class QuickMaps_Guest does not contain a
definition for 'Properties' as shown below in the beginning of the
reference.cs file. (The line is:
QuickMaps_Guest.Properties.Settings.Default.QuickM aps_Guest_localhost_QuickMaps_Guest;)
Is this a bug in the beta2? I've tried various fixes,eg. removing
'QuickMaps_Guest.' from the line above, or just replacing it with the literal
url in double quotes, but VS always recreates the line above that throws the
error.
Anyone know what I can do to get this to compile?
Thanks,
Paul
================================================
namespace QuickMaps_Guest.localhost {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
using System.Data;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("c ode")]
[System.Web.Services.WebServiceBindingAttribute(Nam e="QuickMaps_GuestSoap",
Namespace="http://www.qs.us/QS/")]
public partial class QuickMaps_Guest :
System.Web.Services.Protocols.SoapHttpClientProtoc ol {
private System.Threading.SendOrPostCallback
GetCompaniesOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public QuickMaps_Guest() {
this.Url =
QuickMaps_Guest.Properties.Settings.Default.QuickM aps_Guest_localhost_QuickMaps_Guest;