C++/CLI System::ServiceModel Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • NeToKo

    #1

    C++/CLI System::ServiceModel Problem

    when i try to compile my code with 'using namespace
    System::Service Model' i get:
    error C2039: 'ServiceModel' : is not a member of 'System'

    i've installed WCF and WPF extensions for Visual Studio 2005 and after
    that i see 'Net Framework 3.0' under C# new project, with WCF Service
    Library... tried to Build the C# sample and it works... but in my C++/
    CLI there is a problem with 'ServiceModel'. ..

    any hints?

  • Bruno van Dooren

    #2
    Re: C++/CLI System::Service Model Problem

    when i try to compile my code with 'using namespace
    System::Service Model' i get:
    error C2039: 'ServiceModel' : is not a member of 'System'
    >
    i've installed WCF and WPF extensions for Visual Studio 2005 and after
    that i see 'Net Framework 3.0' under C# new project, with WCF Service
    Library... tried to Build the C# sample and it works... but in my C++/
    CLI there is a problem with 'ServiceModel'. ..
    >
    any hints?
    Don't ask the same question twice. That does not increase your chances of
    getting an answer at all. I have already answered your original question.

    --
    Kind regards,
    Bruno van Dooren MVP - VC++

    bruno_nos_pam_v an_dooren@hotma il.com


    Comment

    • NeToKo

      #3
      Re: C++/CLI System::Service Model Problem

      On Apr 25, 1:02 am, "Bruno van Dooren"
      <bruno_nos_pam_ van_doo...@hotm ail.comwrote:
      when i try to compile my code with 'using namespace
      System::Service Model' i get:
      error C2039: 'ServiceModel' : is not a member of 'System'
      >
      i've installed WCF and WPF extensions for Visual Studio 2005 and after
      that i see 'Net Framework 3.0' under C# new project, with WCF Service
      Library... tried to Build the C# sample and it works... but in my C++/
      CLI there is a problem with 'ServiceModel'. ..
      >
      any hints?
      >
      Don't ask the same question twice. That does not increase your chances of
      getting an answer at all. I have already answered your original question.
      >
      --
      Kind regards,
      Bruno van Dooren MVP - VC++

      bruno_nos_pam_v an_doo...@hotma il.com
      Anyway, already fixed the problem, I add a reference for
      ServiceModel...

      Comment

      Working...