Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8187889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:42:58+00:00 2026-06-07T02:42:58+00:00

During the implementation of a duplex service, I created a new class and I

  • 0

During the implementation of a duplex service, I created a new class and I decorated it with the attribute DataContract: moreover, I decorated the properties of this class with the attribute DataMember, including the property public IPEndPoint Endpoint { get; set; }.

Then I launched svcutil which has generated the generatedProxy.cs and the app.config files. The build of the project is successful, but some warnings are reported as follows:

The type ‘System.Net.IPEndPoint’ in
‘C:\Users\vincenzo\Documents\Visual Studio
2010\Projects\SampleDuplex\Client\generatedProxy.cs’ conflicts with
the imported type ‘System.Net.IPEndPoint’ in ‘c:\Program
Files\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.dll’.
Using the type defined in ‘C:\Users\vincenzo\Documents\Visual Studio
2010\Projects\SampleDuplex\Client\generatedProxy.cs’. C:\Users\vincenzo\Documents\Visual
Studio
2010\Projects\SampleDuplex\Client\generatedProxy.cs 90 28 Client

What causes these warnings?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:43:00+00:00Added an answer on June 7, 2026 at 2:43 am

    The problem was caused by the fact that the generated file contained the definition of the namespace System.Net, and within this namespace there was also the definition of the IPEndPoint class: this was in conflict with the definition of the .NET Framework. In order to resolve the problem, I added the /reference option to svcutil command, as follows:

    1. I moved into the path C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
    2. I added the option /reference:System.dll

    As a result, the definition of the namespace System.Net is no longer present in the generated file and after the build no warnings are reported.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I work on someone else's code and it uses Transacted during class member implementation,
I am trying queue implementation in c++. During that I am having this problem.
I trying to implement SVM implementation. During this problem I need to solve nonlinear
Here is my code.... package calendar; import java.util.*; /** * This class represents a
During some set operations I encountered this error in Python: TypeError: unhashable type: 'InstrumentedList'
Thanks for helping. The errors occurs during implementation accepts_nested_attributes_for . I get ActionView::Template:Error (undefined
During the design of a new generic authentication framework for some of our products,
Greetings, I am having a lot of issues during implementation of a model driven
During the design phase of system development, should the class design dictate the design
this one is of clumsy implementation type and I have small knowledge about MS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.