.NET Framework Developer Center > .NET Development Forums > .NET Base Class Library > .net Frameworks 'System.Runtime.Serialization'
Ask a questionAsk a question
 

Answer.net Frameworks 'System.Runtime.Serialization'

  • Tuesday, August 14, 2007 3:25 AMsr_Narasimhamurthy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    hi,

     

    I am gettig the following Error

     

    The type or namespace name 'Serialization' does not exist in the namespace 'System.Runtime' (are you missing an assembly reference?)

     

    and I am not getting the "Add service reference " in the Contex menu.

     

     

    I need the Solution ....

     

     

    thanks & regards,

    murthy

Answers

  • Tuesday, August 14, 2007 8:09 AMKarthikeya Pavan Kumar .B Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Try compiling from the command line. check this http://blogs.msdn.com/csharpfaq/archive/2004/04/29/123028.aspx

     

  • Tuesday, August 14, 2007 2:28 PMnobugzMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Something is badly broken in either your project or your VS200x setup.  The System.Runtime.Serialization namespace is defined in mscorlib.dll, an assembly that's implicitly referenced in any project without you asking for it.  I never heard of "Add service reference".
  • Thursday, August 30, 2007 12:59 AMMSFT Johan StenbergModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    As a side not, "Add service reference" is the new command in Visual Studio 2008 (aka. Orcas) to add a reference to a web service. When creating a project that uses the 3.0 or 3.5 framework, it replaces the "Add web reference" command from previous versions of Visual Studio.

     

    Best regards,

    Johan Stenberg

All Replies

  • Tuesday, August 14, 2007 8:09 AMKarthikeya Pavan Kumar .B Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Try compiling from the command line. check this http://blogs.msdn.com/csharpfaq/archive/2004/04/29/123028.aspx

     

  • Tuesday, August 14, 2007 2:28 PMnobugzMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Something is badly broken in either your project or your VS200x setup.  The System.Runtime.Serialization namespace is defined in mscorlib.dll, an assembly that's implicitly referenced in any project without you asking for it.  I never heard of "Add service reference".
  • Thursday, August 30, 2007 12:59 AMMSFT Johan StenbergModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    As a side not, "Add service reference" is the new command in Visual Studio 2008 (aka. Orcas) to add a reference to a web service. When creating a project that uses the 3.0 or 3.5 framework, it replaces the "Add web reference" command from previous versions of Visual Studio.

     

    Best regards,

    Johan Stenberg