i've finished my WPF app that targets PCs that do NOT have access to the internet, i was trying to publish the app so i made these steps : right click on Project -> Publish -> enterd the path -> from a CD-Rom or DVD-Rom -> the application won't check for updates
and i got my installer file and it works fine on my own machine (running Windows 10). However, i tried to install the app on another machine that is running Windows 8.1 and got an error indicating that the app is targetting .NET 4.6 which is not installed, i revert back to Visual Studio and to Project properties and changed the target to .NET 4.5 (4.6.1 was selected by default), built, ran and published the app again but i still get the same error, then downloaded the .NET 4.6 and 4.6.1 offline installers and installed them and still get that ".NET 4.6 required" message .... what is the problem ?
by the way, i copied the debug folder of my project to that computer and the app ran just fine but is this a safe way to distribute an app?
(the image shows the ".NET 4.6 required" message, Please note that i can't fall down below .NET 4.5 since i am using async/await)
thanks for your time