Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My existing project is based .Net 3.5 windows based with vsto assemblies.
and I use VS 2010.Please guide me how to upgrade it 4.6.1

What I have tried:

Please help me as I do not know how to upgrade to 4.6.1
Posted
Updated 2-Sep-21 6:45am

NB: VS2010 does not support .NET Framework 4.5 or later. You will need to install a newer version of Visual Studio.

So long as you meet the licensing requirements, you can download the latest version of VS2019 Community Edition:
Visual Studio 2019 Community Edition – Download Latest Free Version[^]
  • Individual developers can use it to create free or commercial applications;
  • Any number of developers from an organisation can use it to create open-source code, or for learning or academic research;
  • Up to five developers from a "non-enterprise" (<= 250 PCs, <= $1M US annual revenue) organisation can use to to create free or commercial applications;
  • No use permitted in "enterprise" organisations;
 
Share this answer
 
Comments
Thirumadhi T Johnson 6-Sep-21 0:28am    
is it supported VS 2015 also for 4.6.1 framework ?
Richard Deeming 6-Sep-21 3:42am    
VS2015 should support 4.6.x, so long as you install the relevant developer pack:
Install the .NET Framework developer pack or redistributable | Microsoft Docs[^]
Thirumadhi T Johnson 6-Sep-21 1:28am    
Hi Richard, I have migrated the Web application from .NET framework v3.5 to v4.6.1. Version number got changed to v4.6.1 in project properties and compiled successfully.
But it is WCF related project so while running the project it is asking for add Service.
Before it was with 2010 VS and now I opened with VS 2015 with changing Target Framework 4.6.1.
Thirumadhi T Johnson 8-Sep-21 0:36am    
Hi Richard, I upgraded it to 4.6.1 using VS 2019 but in Web Config still I see 3.5.0.0 version.For reference please see the below---
<sectiongroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectiongroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

<sectiongroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Richard Deeming 8-Sep-21 3:19am    
If the conversion wizard doesn't work, or hasn't updated the config file, you'll need to do it manually:
How to: Upgrade an ASP.NET Web Application to ASP.NET 4 | Microsoft Docs[^]
In Visual Studio, right click on the project file in the Solution Explorer and select properties. Select Application on the left list. On the right pane you will see a drop-down list labeled Target framework. Drop that down and select the framework you want. You must have the framework installed before it will show in the list.
 
Share this answer
 
Comments
Thirumadhi T Johnson 6-Sep-21 1:29am    
Hi @DonathanH, I have migrated the Web application from .NET framework v3.5 to v4.6.1. Version number got changed to v4.6.1 in project properties and compiled successfully.
But it is WCF related project so while running the project it is asking for add Service.
Before it was with 2010 VS and now I opened with VS 2015 with changing Target Framework 4.6.1.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900