Home > Net >  C # inside the debug file copy to another computer, part function can't use, please the great g
C # inside the debug file copy to another computer, part function can't use, please the great g

Time:11-23

VS2013 made a small program to support the short message notifications, ali cloud in the machine running is normal, but the file copy of the debug to another computer, found that short message function can't use, ali cloud two DLLS also copy in the past, don't know what the reason,
In addition can you give me a c # packaging tools, best able to support green software directly copied to another computer can be used directly on the best,
There are tools download link is best,

CodePudding user response:

The problem is not an error

CodePudding user response:

Vs2013 tool good old, should be used. Netframework an earlier version, first make sure if your target machine installation have the same version of the framework and your development environment,
Version if there is no problem, you can use a relatively simple confirm whether can normal running of the application of a simple program,
If you can run a simple program, to determine whether and you problem appeared on the implementation of the specific function of,
Vs has vs2019 now, support netcore program, packages can be released into belt running environment, so that you can not need to consider the target framework version, can be directly run a copy to the target,

CodePudding user response:

Environment caused by inconsistent amount, such as short message function does require some on the system Settings, likely scenario is part of the function in your native has opened, and the other one not open yet,
https://www.cnblogs.com/1024zy/p/6371590.html

CodePudding user response:

Target computer of the.net framework version and you develop computer version is set to the consistent, try again,

CodePudding user response:

All your 3rd party DLL, point attribute, and then set "copy local" is True, as long as you don't have other Settings, then copy the debug was no problem, I have been doing it

CodePudding user response:

Suggest another kao release package

CodePudding user response:

Should be the target machine is too old version of the reasons, some pictures button does not display anything, try to configure the target machines and your development environment,

CodePudding user response:

Local can run well, congratulations, actually the debug the contents will tend to run out, as long as the environment

CodePudding user response:

There's always a log can see of, big probability is two different computer environment, program didn't complain, you say then you have to look at the first log system

CodePudding user response:

The debug to run, is only a matter of some function is not available, you can see the function call is not available what external data or resource, may this part when generating resources and not to be copied to the debug, so lead to after leaving the development machine, the part was invalid,

CodePudding user response:

Normally, direct copy,
Can't use, can try to troubleshoot from several aspects
1. The.net version
2. Whether the file less, or third party DLL to register
3. Whether the access to the network opens the corresponding port
4. To access the database connection string is correct, and can access

CodePudding user response:

What do you mean sending short message function can't use, is ordered to send not receive? Listen to what do you mean the program could run to estimate may be sent this requires some configuration like computer IP firewall or something

CodePudding user response:

Illustrate the imperfection of the program, didn't pay attention to details, the code in this way, the last write database is as much a space, what is wrong

CodePudding user response:

Best release release package

CodePudding user response:

Is basically inconsistent environment problem, you can run on their own computers, because vs2013 has put environment give you good, you can be on the target computer to install a netframework, first is the netframework netframework version of the program you choose, not in the target computer with an vs2013 see can solve, if can solve or target computer certainly missing something, had better find out something missing, do not recommend a vs2013 to solve the problem

CodePudding user response:

May be 5 floor problems, the system will lock the DLL download from the Internet
  •  Tags:  
  • C#
  • Related