I have created a WPF application which should natively run on Windows 7, 8, 8.1, 10.
In Visual Studio, I have set .NET Framework to 3.5 as it is bundled with Windows 7. When I run it on Win10, however, it prompts to install .NET 3.5 as Win10 is bundled with 4.6 and does not have 3.5 installed by default.
How can I make my application run on all Windows versions >= 7 without getting any prompts from Windows and without installing anything?