I am working in a wpf project which uses two external dll's. One of this dll requires .Net framework 2.0 and the other requires 3.5.
While adding this to my solution it asks for changing the .Net framework to 4.6.2. My application only needs 4.6.1 in other case.
On deploying this solution I saw different behaviors in different machines.
- In Win10 anniversary update it is working as by default 4.6.2 is there.
- In my machine Win10 I installed 4.6.2 developer pack, so it was working fine. I uninstalled it, then also it's working fine.
- In another machine with win7, it works with developer pack, and on uninstall it does not work. Another point is win7 it is not working with redist 4.6.2 full pack.
- In Win7 VM it is working fine with .Net 4.6.1.
Does anyone know what type of behavior is this? I need to embed .Net framework 4.6.2 installer with my product installer.
Is it necessary to have the same .Net framework version required during development on deployment also?