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?
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.
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.
Member
147 Points
1061 Posts
ASP.NET 4.0 and targetFramework?
Dec 07, 2017 12:17 PM|Bluenose|LINK
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.
All-Star
52971 Points
23566 Posts
Re: ASP.NET 4.0 and targetFramework?
Dec 07, 2017 12:24 PM|mgebhard|LINK
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.
https://msdn.microsoft.com/en-us/library/bb398202.aspx
All-Star
48490 Points
18068 Posts
Re: ASP.NET 4.0 and targetFramework?
Dec 07, 2017 12:33 PM|PatriceSc|LINK
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.
Member
147 Points
1061 Posts
Re: ASP.NET 4.0 and targetFramework?
Dec 07, 2017 01:34 PM|Bluenose|LINK
I created it from scratch - I couldn't see 'Properties' in the previous project, only 'Property Pages'.
Many thanks!