when I create a new project in Visual Studio, the .NET-Framework 4.5.2 is selected by default. But in the list of versions are also newer ones, e. g. 4.6.1.
Is there a special reason why an older version is selected by default?
VS should keep the latest selected version and use that as a default.
Check which version is available on your web server(s). The idea is likely to default to the older version that ships with a supported OS and let developers to opt-in for a later version.
According to your description, as far as I know, there is no option to set the defalut framework version.
But if you change the framework version to the latest when you create the project, when you next time to create project, the defult version is your previous chosen version.
Best Regards,
Eric Du
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
33 Points
425 Posts
Create new Project: Default .NET-Framework version is not the newest version?
Aug 10, 2017 02:39 PM|Yeoman|LINK
Hello,
when I create a new project in Visual Studio, the .NET-Framework 4.5.2 is selected by default. But in the list of versions are also newer ones, e. g. 4.6.1.
Is there a special reason why an older version is selected by default?
Should one always manually select the newest one?
Thanks
Magnus
All-Star
48720 Points
18184 Posts
Re: Create new Project: Default .NET-Framework version is not the newest version?
Aug 10, 2017 07:18 PM|PatriceSc|LINK
Hi,
VS should keep the latest selected version and use that as a default.
Check which version is available on your web server(s). The idea is likely to default to the older version that ships with a supported OS and let developers to opt-in for a later version.
Contributor
6730 Points
2715 Posts
Re: Create new Project: Default .NET-Framework version is not the newest version?
Aug 11, 2017 06:08 AM|Eric Du|LINK
Hi Yeoman,
According to your description, as far as I know, there is no option to set the defalut framework version.
But if you change the framework version to the latest when you create the project, when you next time to create project, the defult version is your previous chosen version.
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.