Can we install 2 different versions of .NET Framework on the same computer?

Add-in Express™ Support Service
That's what is more important than anything else

Can we install 2 different versions of .NET Framework on the same computer?
 
Leon Lai Kan




Posts: 200
Joined: 2018-12-20
Hi,

I am playing with this blog sample:

Excel shapes events: getting notified about user actions
https://www.add-in-express.com/creating-addins-blog/2012/02/21/excel-shapes-events/

I have .NET Framework version 4 on my computer, but the sample needs version 2.

Can we install 2 different versions of .NET Framework on the same computer, without problems?

Thanks
Leon
Posted 14 Jan, 2019 07:07:04 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Leon,

Control Panel | Programs and Features | Turn Windows Features on or off | .NET Framework 3.5 (you can leave subitems unchecked).

Alternatively, modify the add-in project to use .NET 4: select menu Project | {project name} Properties, switch to the Application tab and see the Target framework item.


Andrei Smolin
Add-in Express Team Leader
Posted 14 Jan, 2019 07:17:33 Top
Leon Lai Kan




Posts: 200
Joined: 2018-12-20
Thanks Andrei

Great tips!

Leon

added:
If I install 2.0, and later want 4.0 back. Is this possible?
Posted 14 Jan, 2019 07:23:36 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
You should have both of them installed simultaneously!


Andrei Smolin
Add-in Express Team Leader
Posted 14 Jan, 2019 07:36:59 Top