Graphic tutorial for installing the packaging plug-in VS2017
Install
Open VS2017: Tools --> extensions and updates --> online, search for Microsoft Visual Studio 2017 Installer Projects, such:
Enter Microsoft Visual Studio 2017 Installer Projects in the search. The search result is as follows:
Download Microsoft Visual Studio 2017 Installer Projects, such:
Follow the prompts to close all VS windows and install them automatically, for example:
Select modify]
Installation Complete
Check the Installation Log to learn about the installation process,
Create a project
Install. Open VS2017 and start a new installation project under the solution to be installed, such:
[New]-[project]-[installed]-[TEMPLATE]-[other project types]-[Visual studio Installer ],
Select setup project]
Add the entry file and project output. Select solution point Add ,:
The project output window is displayed, for example:
Create a shortcut, right-click the primary output, for example:
Rename the shortcut, for example:
Drag the shortcut to User's Desktop,
Add a folder in User's Programs Menu (your project name) --> double-click the selected Folder --> right-click on the right --> Create a shortcut --> select Applicaiton Folder --> main output XXX --> OK,
Click OK.
Last generated,
Pay attention to the. NET Framework.
This information tells us that the currently packaged. NET Framework is 4.6.1. It does not match the application to be packaged. the. NET Framework we want to package is 4.5.2, for example:
Modify the. NET Framework as follows:
Right-click the package solution and choose Properties ],
Select the prerequisites, such:
As shown in the figure below, the framework with the error is displayed.
We changed it to the same as the packaging solution. Framework. Check the. NET Framework of the project to be packaged. For example
OK, and re-generate it again.
The graphic tutorial for installing the packaging plug-in VS2017 above is all the content shared by Alibaba Cloud. I hope you can give us a reference and support for the customer's home.