7
votes

I am new to C# programming and don't know how to set the "Target Framework" in visual studio 2013? When I right click on the project -> Properties I see no left column of the property pages window with no Application tab. I tried to build a solution and I got several errors like this:

Error 6 The type or namespace name 'ObjectSet' could not be found (are you missing a using directive or an assembly reference?)

And then I found this answer link

But I don't actually know how to change the target framework. Please help me. Thank you in advance.

[EDIT] Screenshot. I use Visual Studio Professional 2013 Visual Studio

2
Is your project using entity framework? - Sandeep Polavarapu
yes, I installed it with "Install-Package EntityFramework -Version 6.0.2" in console manager - Steffi
What do you see? Getting started with the wrong project template, like a Portable Class Library, or using the Express edition of VS2013 are simple explanations that we can't eliminate unless you tell us what you see. - Hans Passant
I imported a project and tried to build the solution.. the project was working on my colleague's laptop, he is using visual studio 2010.. Maybe I forgot to do something prior to build the solution. I opened the project, installed the entity framework and I am trying to make it work [screenshot added] - Steffi

2 Answers

12
votes

Right Click a project > click properties > first tab -> Target Framework

enter image description here

enter image description here

3
votes

Looking at the error it seems like you are missing reference to dlls. Please look at this Link