Recently, the team put forward an egg-ache requirement to turn the 32-bit project into 64-bit, and to produce debug x86, Debug x64, Release x86 release x64 these 4 versions, and do not need anycpu
After a few days of groping, found that for third-party C + + and other DLLs very good processing, direct replication, covering the past can be, but C # itself we through using the DLL because it will generate information records, so no
However, the dll,64-bit program for the C#32 bit can actually be called directly, so it has nothing to do with the impact.
Start the migration tour below
First set up a test project
Then set the EXE, or the site project's compilation environment, to ensure the unification of all projects, and the generation are checked
Compiler MSBuild compiles our stuff, actually to find csproj files, and as for how MSBuild is used, the blog park grabs a lot and doesn't repeat it.
All configurations will eventually be rendered as:
But be aware that if your class is in an unsafe code, you need to configure the Allunsafeblocks node
Then copy the third-party thing in the preprocessing to replace, guarantee the call
Finally, you can use MSBuild to compile what we need at once.
32-bit engineering to 64-bit migrations