Hello, I need to publish my application with .NET Framework 4.0 (for windows XP support) but when trying to add it to the prerequisites it is missing. What can i do?
Select Start > Control Panel > Programs > Programs and Features. Select Turn Windows features on or off. If not already installed, select Microsoft . NET Framework and click OK.
Visual Studio 2017 supports the following implementations: . NET Framework versions 4.7, 4.6.
i used the old, free "Bootstrap Manifest Generator" tool, which is a bit hard to find nowadays. My steps were as follows:
Select "New Project" and then the "Package Manifest" option - Fill-in the Project Name and Project Code, and then click the first icon above the white panel labeled "Package" - Browse to the redistributable package
Enter the "Display Name" and then click the second icon above the white panel. The output folder will be highlighted in blue.
Move the containing folder (navigate one level up to copy the "DotNETFX40" folder) to the location shown below (Note, i'm using VS2017 Community on Windows 10):
In my WPF application, in the "Prerequisites" dialog, i now see the DotNETFX40 folder, as highlighted below.
Now when i publish the application, the DotNETFX40 folder is published as well:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With