WSE 2.0 Error CS0234



Using WSE to create a web service containing two web methods. Got an error
saying that project creation failed(PublishingException)

Here's the log file, any ideas?

------ Build started: Project: WorksiteWebService, Configuration: Release
..NET ------

Preparing resources...
Updating references...
Performing main compilation...
c:\inetpub\wwwroot\WorksiteWebService\DataTypes.cs(32,25): error CS0234: The
type or namespace name 'XmlImportedTypeAttribute' does not exist in the class
or namespace 'BizTalkWebService.WorksiteWebService' (are you missing an
assembly reference?)
c:\inetpub\wwwroot\WorksiteWebService\DataTypes.cs(34,25): error CS0234: The
type or namespace name 'XmlImportedRootAttribute' does not exist in the class
or namespace 'BizTalkWebService.WorksiteWebService' (are you missing an
assembly reference?)
c:\inetpub\wwwroot\WorksiteWebService\DataTypes.cs(47,25): error CS0234: The
type or namespace name 'XmlImportedTypeAttribute' does not exist in the class
or namespace 'BizTalkWebService.WorksiteWebService' (are you missing an
assembly reference?)
c:\inetpub\wwwroot\WorksiteWebService\DataTypes.cs(49,25): error CS0234: The
type or namespace name 'XmlImportedRootAttribute' does not exist in the class
or namespace 'BizTalkWebService.WorksiteWebService' (are you missing an
assembly reference?)
c:\inetpub\wwwroot\WorksiteWebService\DataTypes.cs(62,25): error CS0234: The
type or namespace name 'XmlImportedTypeAttribute' does not exist in the class
or namespace 'BizTalkWebService.WorksiteWebService' (are you missing an
assembly reference?)
c:\inetpub\wwwroot\WorksiteWebService\DataTypes.cs(64,25): error CS0234: The
type or namespace name 'XmlImportedRootAttribute' does not exist in the class
or namespace 'BizTalkWebService.WorksiteWebService' (are you missing an
assembly reference?)

Build complete -- 6 errors, 0 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is
missing.


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped

.



Relevant Pages

  • Re: Problem porting DirectSound project to fx2.0
    ... Community Manager, Windows Graphics and Gaming ... > The type or namespace name 'Security' does not exist in the namespace ... > (are you missing a using directive or an assembly reference?) ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Printing an Form
    ... Anyway I tried your code and I seem to be missing some key points. ... don't I need to call PrintActiveFormand PrtDoc()? ... 'The name '_ActiveFormImage' does not exist in the class or namespace ... using directive or an assembly reference?) ...
    (microsoft.public.dotnet.languages.csharp)
  • Errors...
    ... "This control cannot be displayed because its TagPrefix is not registered in ... namespace 'System.Web.UI' (are you missing an assembly reference?) " ...
    (microsoft.public.dotnet.framework.aspnet)
  • Error in Microsoft.Wen.Services2
    ... class or namespace 'Microsoft' (are you missing an assembly reference?) ...
    (microsoft.public.dotnet.languages.csharp)
  • Microsoft.Web.Services2
    ... class or namespace 'Microsoft' (are you missing an assembly reference?) ...
    (microsoft.public.dotnet.languages.csharp)

Loading