= Building MapGuide trunk with Visual C++ Express Edition = == Environment Setup == * [http://www.microsoft.com/express/Downloads/Download-2008.aspx Microsoft Visual C++ 2008 Express Edition] * [http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&displaylang=en Windows SDK for Windows Server 2008 and .NET Framework 3.5] The Windows SDK provides us with the x64 native/cross compilers if you want to build MapGuide in 64-bit. == Setting up x64 compilers == If you don't intend to build 64-bit MapGuide you can skip this section. == Build Oem == === Manual === Open Oem.sln in Visual C++ Express and build the solution using your configuration of choice. You will get an error about a particular project not loading (SQLiteGUI). This is because VS express doesn't support solutions with mixed project types. Fortunately, this project is not required and the error can be safely ignored. === Automated === ... == A note about building CS-Map in 64-bit == When building the OpenSource.sln in a 32-bit system using the 64-bit cross compiler, you will get a post-build error. This is because the Compiler project has a post-build step that runs the compiled executable to compile the Coordinate System dictionaries. The compiled executable being a 64-bit binary, will not run on a 32-bit system. To workaround this, build the OpenSource.sln (Compiler and Library) in 32-bit first, this will trigger the post-build event and compile your CS dictionaries. Then only build the Library project in 64-bit. == Build Server == === Manual === Open Server.sln in Visual C++ Express and build the solution using your configuration of choice. === Automated === ... == Build WebTier == === Manual === Open WebTier.sln in Visual C++ Express and build the solution using your configuration of choice. === Automated === ...