views:

2504

answers:

4

Hi, What's the deal with VS?...I tried importing the Caching App Block and got the message...the assembly or one of it's dependencies your are trying to import requires a later version of .NET Framework......

I went to the properties of my app in VS, but I can't find the dropdown to switch....what's the deal?

Thanks

+4  A: 

Found it....went to "Advanced Compile Options" on Compile Tab.....wierd!

Saif Khan
Wow, thanks. This saved me a ton of looking.
Programmin Tool
+2  A: 

It should be on the Application tab in the project's properties. Here is a great article on how VS2008 handles framework targeting.

http://weblogs.asp.net/scottgu/archive/2007/06/20/vs-2008-multi-targeting-support.aspx

Jon Tackabury
Nothing on the Application Tab for me to change target framework.
Saif Khan
Seems to be there for me.
iammichael
A: 

Go to the properties of a project (Solution Explorer --> Project --> Properties or Menu Bar --> Project --> Properties) and on the Application tab you'll see Target Framework.

Dude ~ It's not there. I even restarted VS. Its on "Compile Tab" > "Advanced Compile Options"
Saif Khan
+1  A: 

I think they make it different for C# project and VB project.

C# project

Solution Explorer --> Project --> Properties and on the Application tab you'll see Target Framework.

VB project

Project Properties --> Compile --> Advanced Compile Options

sudarpo.net