B
Bill
I used wsdl.exe to build a C# web services proxy. It contains 2 using
statements that cause compile errors in Visual Studio .NET beta 2:
// the following 2 lines cause compile errors
using System.Web.Services;
using System.Web.Services.Protocols;
//
Here is a simple console program that also yields the same compile errors:
using System;
using System.Collections.Generic;
using System.Text;
// the following 2 lines cause compile errors
using System.Web.Services;
using System.Web.Services.Protocols;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Here are the compile error messages:
Error 1 The type or namespace name 'Services' does not exist in
the namespace 'System.Web' (are you missing an assembly reference?)
C:\Documents and Settings\bkellett\My Documents\Visual Studio
2005\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs 6
18 ConsoleApplication1
Error 2 The type or namespace name 'Services' does not exist in
the namespace 'System.Web' (are you missing an assembly reference?)
C:\Documents and Settings\bkellett\My Documents\Visual Studio
2005\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs 7
18 ConsoleApplication1
According to doc, these using statements appear to be correct. Can you tell
me what to do?
Here is info on the versions of s/w I am using:
Visual Studio 2005 Version 8.0.50215.44 (beta2.050215-4400)
..NET Framework Version 2.0.50215
Any assistance greatly appreciated!
statements that cause compile errors in Visual Studio .NET beta 2:
// the following 2 lines cause compile errors
using System.Web.Services;
using System.Web.Services.Protocols;
//
Here is a simple console program that also yields the same compile errors:
using System;
using System.Collections.Generic;
using System.Text;
// the following 2 lines cause compile errors
using System.Web.Services;
using System.Web.Services.Protocols;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Here are the compile error messages:
Error 1 The type or namespace name 'Services' does not exist in
the namespace 'System.Web' (are you missing an assembly reference?)
C:\Documents and Settings\bkellett\My Documents\Visual Studio
2005\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs 6
18 ConsoleApplication1
Error 2 The type or namespace name 'Services' does not exist in
the namespace 'System.Web' (are you missing an assembly reference?)
C:\Documents and Settings\bkellett\My Documents\Visual Studio
2005\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs 7
18 ConsoleApplication1
According to doc, these using statements appear to be correct. Can you tell
me what to do?
Here is info on the versions of s/w I am using:
Visual Studio 2005 Version 8.0.50215.44 (beta2.050215-4400)
..NET Framework Version 2.0.50215
Any assistance greatly appreciated!