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

  • Home
  • SEARCH
  • 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 8679795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:04:19+00:00 2026-06-12T21:04:19+00:00

I have a Class Library project which is made in 3.5 framework. Now I

  • 0

I have a Class Library project which is made in 3.5 framework. Now I want to update this project into framework 4.0. By using project property I have changed this project from 3.5 into 4.0 Target framework. Now it gives me an error i.e.

Error : The type or namespace name ‘ServiceModel’ does not exist in
the namespace ‘System’ (are you missing an assembly reference?)

Before this when this project in 3.5 framework it builds successfully but after changing 4.0 framework it throws this error.

I made a new reference of System.ServiceModel of 4.0.0.0 version like this :
enter image description here

but after that adding this new System.ServiceModel dll it shows the same error like this :
enter image description here

How can I converted this 3.5 project into 4.0?

How can Resolve this error?

  • 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-12T21:04:21+00:00Added an answer on June 12, 2026 at 9:04 pm

    The steps you have described seem correct. The yellow question mark should disappear after you compile.

    1. Change the target .NET framework from .NET 3.5 to .NET 4.0 (not .NET 4.0 Client Profile otherwise the System.ServiceModel assembly will not appear in the Add Reference dialog)
    2. Add reference to System.ServiceModel 4.0.0.0 to the project
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say we have a class library project containing 10 classes. Now I want to
I have a class library project which contains some content files configured with the
I have a class, which is part of a code library project that was
I have a class library project which uses a namespace (e.g., Cosmos.Creator.Util). I then
So, if I have website project Foo which has a reference to class library
I have a class/library project I made in Visual Studio, a Spreadsheet in the
I have a class library which I maintain in it's own project/solution. It contains
I have a Silverlight class library project which is referenced (project reference) in Windows
I have a class library that I created using the Class Library project template.
I have a class library project which contains a java script file libscript.js which

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.