Home > Net >  C # PC packaging issues
C # PC packaging issues

Time:10-01

I use VS2017 based on.net Framework 4.6.1 written under a small PC program is available in vs debug without any trouble, after using the advanced installer this software package, and in accordance with the method of CSDN some post to packaging, but all goes well, found after clicking exe program on pack up and install, the mouse just turned a circle, then didn't, feel no reaction, my first package, don't know what has made the mistake, ask everybody to give directions, please!!!!!!

CodePudding user response:

According to what you have said, the program no problem, is basically adv install this software configuration problem

CodePudding user response:

Vs2017 packaging function, if not in the "extension" "management extension" search "install", installation project template, can make the installation program

CodePudding user response:

Without professional green free installation

CodePudding user response:

refer to the second floor jx315425246 response:
vs2017 packaging function, if not in the "extension" "management extension" search "install", installation project template, can make the installation program

I only use vs own extensions, but couldn't find the DLL library's always an error said, but I have included, but the use of the advanced installer is not an error, so also don't know where the configuration errors,

CodePudding user response:

Can use nsis package

CodePudding user response:

reference 4 floor tiboyang response:
Quote: refer to the second floor jx315425246 response:

Vs2017 packaging function, if not in the "extension" "management extension" search "install", installation project template, can make the installation program

I only use vs own extensions, but couldn't find the DLL library's always an error said, but I have included, but the use of the advanced installer is not an error, so also don't know where the configuration errors,

What is the file name, if the third party documents, copied directly to the project contains the directory

CodePudding user response:

I feel or look for special packaging software use, will be more convenient,

CodePudding user response:

Use VS own packaging function, can't find the DLL should be with you a third-party DLL library, the library has some dependencies you didn't quote package together

CodePudding user response:

refer to the eighth floor xing3115 response:
use VS own packaging function, can't find the DLL should be you to use a third-party DLL library, the library has some dependencies, you don't have the reference packaged together
no scientific ah I'm debag exe can be running under the bag

CodePudding user response:

Not only can run in the Debug, as long as can run on your computer, but not change to another computer, but I just didn't encounter this problem, and then a Depends on the virtual machine inside to find the third-party DLL is what dependencies on other computer, and then in the installation deployment were packaged together

CodePudding user response:

references to the tenth floor xing3115 response:
is more than can run in the Debug, as long as can run on your computer, but not change to another computer, but I just didn't encounter this problem, and then a Depends on the virtual machine inside to find the third-party DLL is what dependencies on other computer, and then in the installation deployment were packaged together
I pack out after installed on your computer are not make, don't know why, but under vs debag folder that exe can

CodePudding user response:

In this case, you can add some exception handling to the program first, abnormal will be written to the file or pop-up window, then the generated exe,
After the whole Debug folder copy to other machines, see capture what is abnormal, then according to the unusual to find the missing part, until the Debug folder on the other machine can run normally,
Finally, there is no problem, then you generated exe packaging,
  •  Tags:  
  • C#
  • Related