Solved

Visual Studio 2012 Warning regarding .net framework 3.5, 4

Posted on 2013-06-25
12
410 Views
Last Modified: 2013-07-12
Hi,

I have a project that is coded with a 3rd party reference (example.dll) namespace and I can't compile the code.  I receive:

The primary reference "3rdparty.client, version=0.0.0.0, ..." could not be resolved because it was built against the .netframework 4.0 framework.  This is a higher version than the currently targeted framework .netframework 3.5.

The only option available under Project -> project1 properties -> application tab, is .net framework 3.5.

I've went to the website it directed me to, but I can't install the pack kb2600211 because it's blocked by my system.

I'm not sure where to go from here.

Thanks in advance for the help.
0
Comment
Question by:jands
  • 7
  • 4
12 Comments
 
LVL 42

Expert Comment

by:sedgwick
Comment Utility
did u try install .net 4.0?
0
 

Author Comment

by:jands
Comment Utility
Yes, it says I already have 4.5 installed, so it wouldn't let me continue.
0
 
LVL 42

Expert Comment

by:sedgwick
Comment Utility
open the Environment Variables, what are the values for TEMP and TMP?
0
 

Author Comment

by:jands
Comment Utility
They are both pointing to %userprofile%\appdata\local\temp.
0
 

Author Comment

by:jands
Comment Utility
The previous post was for the user.

The System variables are both pointed to c:\windows\temp.
0
 

Author Comment

by:jands
Comment Utility
Anyone?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 42

Expert Comment

by:sedgwick
Comment Utility
Do u see in programs installed the .net 4.5?
0
 

Author Comment

by:jands
Comment Utility
Yes...
0
 
LVL 42

Expert Comment

by:sedgwick
Comment Utility
Did u try to reinstall it?
0
 

Author Comment

by:jands
Comment Utility
Yes.
0
 

Author Comment

by:jands
Comment Utility
Found out SharePoint 2010 doesn't support .NET 4.0.

So, how can I create a visual web part with a reference to a namespace developed with 4.0?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
Comment Utility
I would say you can't.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now