• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 457
  • Last Modified:

VB.Net Default open new project to .Net4

Hi Experts.  A stupid thing I know but when I open a new project in VS2010,VB.Net it always opens the project in .Net 4 Client Profile, so to change it to .Net 4 I have to save it first then, then change it.   How do I make it default to  .Net 4.   Thanks in advance
  • 2
1 Solution
Jacques Bourgeois (James Burger)PresidentCommented:
I do not have 2010 installed anymore and I do not remember how it worked, but in 2012, there is a drop down at the top of the New Project window that let's you select the version of the framework that you want to target, before you create the project. Once you change the selection in that dropdown, it becomes your default unless you change it again.
PNRTAuthor Commented:
yes, 2010 has that also but that shows .Net4, there is no client profile option, but it still opens the project in client profile.  Thnaks for the reply
Jacques Bourgeois (James Burger)PresidentCommented:
Is it possible that a template was created on that computer and that you are using the custom template instead of the default one? Custom templates are saved in My Documents\Visual Studio 2010\Templates, with subdirectories that for the different sections that you see in the New Project window. These directories are empty when you install Visual Studio. If you have something in one of these, that the template defined there is the one that is used when you create a new project.

It is also possible to modify some of the default templates and third parties sometimes add their own templates in different subdirectories of Program Files\Microsoft Visual Studio 10.0.

Do you know all the Add-ins that show in the Add-in Manager under the tool menu? Add-ins can react to an event that is triggered in Visual Studio when a new solution is added and change things.

Finally, there is always the possibility of doing a Repair on Visual Studio from the Control Panel. This usually does not change any of the settings that you have done yourself, but it might overwrite faulty files of default templates that could have been modified, intentionally or by mistake. Repair can take a while, so launch it when you are going out for lunch.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now