Packaging and deployment of vb.net of computer room charge system (II.)

Source: Internet
Author: User

following the package and deployment of the previous blog post, here is a solution to the system that I published on the XP system and the. NET framework2.0 platform, for. NET framework2.0, because you know that if you use visual studio2013, The lowest operating platform is 2.0 but the code is implemented under the 4.5 platform, if the conversion of the past, there will be a lot of errors, see:

The resulting effect is that there are many errors:

The reason is that I hit the code before the target framework is the default of 4.5, and changed to 2.0 after the difference is too large, there are many internal compilation has changed, so this method is not possible, here is my solution to this problem is a bit of an opportunistic way to say:

First, the target framework for all projects in the source code is changed to 4.0, because there is no error from 4.5--4.0, and the compilation differences between the two frameworks are small, such as:

Secondly, from the online data learned that XP system can run up to. NET framework4.0, so I put the XP System version 2.0 in the 4.0 version replaced, but for these two versions of the difference, I still do not know, this is I found on the Internet a Some information to share with you:

. NET framework2.0: easy to use applications without deployment• Prepare for Windows XP users using Windows Vista

. NET framework4.0 is mainly to increase the parallel support, but I am poor information, or do not know what is called parallel support, waiting for expert answers ~

But I thought this kind of operation on the line, so cheerfully to the 5 floor installation, did not think of a shortcut, it incredibly again hit me ~ "(null) is not a valid Win32 application", chilling ~ I spent two days to solve the problem unexpectedly again emerged a new problem, so began to learn the road, check information, The original is because I compiled the program is 64-bit, and XP is a 32-bit system, so, new problems, new discoveries, I began to start from the vs2013, regenerate, the following is my operation on it:

First step: Select Configuration Manager

Second step:, select "New"

Click "Copy settings From here"--select "86"--click "OK"

then in Configuration Manager--"Active solution platform"--"86", such as:

Next on this XP system will be able to run properly! Hope to communicate with you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.