My development environment is win7,vs2013,sql2012, using WPF to develop a very simple desktop software, the installation package made with InstallShield, the installation package contains. framework4.5, test normal on your own computer, think it's easy.
Later took an XP system computer, installed the test, the installation process is normal, but open the software when the error: not effective Win32
The first idea is that the version is incompatible, to use the compatibility to open, but I found that XP is not compatible with open software operation
The second idea is whether vs inside can be set to support 32-bit, but repeated look at VS, found in Project properties, support system bits preferred 32 bits, any CPU
The third idea, ask Niang: Degree Niang after found, many people say need to set configuration properties inside the platform collection. The problem came, I did not understand the case, began to find in the project properties of VS, even the God, first find AH find, no ah, I have doubts is not my eyesight, anxious to die me!
Based on the third idea, I think it will be my vs version of the problem, so update to Update4, the tragedy began ..... Spent a day, update vs, finally finished updating, can't wait to open the project properties, found that there is no configuration Properties platform collection and so on, crashed!!! Later looking for software group of people asked, some people said, I have ah, excited ah, hurriedly small window chat, others said, the configuration property platform collection is for C + +!!!! C # is only about the. NET version!!!
The fifth idea is to reduce the. NET version, reduced from 4.5 to 4.0, recompile, do the installation package, test OK.
The sixth idea, hurriedly write down ...
. net4.5 starts to no longer support XP systems
WPF development Desktop Software Records