Boris Lutskovsky
Boris Lutskovsky

Reputation: 561

How do I set the default target framework in VS2008?

I would like all my project to default to .Net 3.5 when creating a new project, but it initially defaults to 2.0. I've spent a few hours online, and and a few hours digging through project templates. No luck.

Can someone please help me out with this?

Upvotes: 1

Views: 1267

Answers (2)

Albic
Albic

Reputation: 3629

Visual Studio always remembers the target framework setting you chose the last time you used the "New Project" dialog.

If you create a new project using the .NET Framework 3.5 setting the selection defaults to .NET 3.5 until you create a project with a different setting.

Upvotes: 2

Steve Dignan
Steve Dignan

Reputation: 8530

Try creating a new project (File -> New -> Project...) and make sure that .NET Framework 3.5 is selected as the target framework in the New Project window (dropdown in the top right of the window). It should then become the default for future new projects.

Upvotes: 1

Related Questions