By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

C++/CLI System::ServiceModel Problem

P: n/a
when i try to compile my code with 'using namespace
System::ServiceModel' 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?

Apr 25 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
when i try to compile my code with 'using namespace
System::ServiceModel' 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++
http://msmvps.com/blogs/vanDooren
br**********************@hotmail.com
Apr 25 '07 #2

P: n/a
On Apr 25, 1:02 am, "Bruno van Dooren"
<bruno_nos_pam_van_doo...@hotmail.comwrote:
when i try to compile my code with 'using namespace
System::ServiceModel' 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++
http://msmvps.com/blogs/vanDooren
bruno_nos_pam_van_doo...@hotmail.com
Anyway, already fixed the problem, I add a reference for
ServiceModel...

Jun 14 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.