Answered by:
ASP.NET 4.0 and targetFramework?

Question
-
User-1793215261 posted
Hello
When creating a new vb.net project in Visual Studio 2017, how do I ensure that it is geared to ASP.NET 4.0 and not 4.5.2. What would I expect to see under target framework in the Web.config file, please?
Thank you.
<o:p></o:p>
Thursday, December 7, 2017 12:17 PM
Answers
-
User475983607 posted
Hello
When creating a new vb.net project in Visual Studio 2017, how do I ensure that it is geared to ASP.NET 4.0 and not 4.5.2. What would I expect to see under target framework in the Web.config file, please?
Thank you.
The target framework is available on the very first screen when creating a new project. It is a dropdown at the top of the new project window.
The target framework can also be changed in the project properties by right clicking the project name and selecting properties in the solution explorer.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, December 7, 2017 12:24 PM
All replies
-
User475983607 posted
Hello
When creating a new vb.net project in Visual Studio 2017, how do I ensure that it is geared to ASP.NET 4.0 and not 4.5.2. What would I expect to see under target framework in the Web.config file, please?
Thank you.
The target framework is available on the very first screen when creating a new project. It is a dropdown at the top of the new project window.
The target framework can also be changed in the project properties by right clicking the project name and selecting properties in the solution explorer.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, December 7, 2017 12:24 PM -
User753101303 posted
Hi,
And AFAIK VS will now use as a default the latest version you selected there. Also it should write the targetFramework information for you in the web.config file.
Thursday, December 7, 2017 12:33 PM -
User-1793215261 posted
I created it from scratch - I couldn't see 'Properties' in the previous project, only 'Property Pages'.
Many thanks!
Thursday, December 7, 2017 1:34 PM