i use Visual Studio 2010 and have a problem. I have a solution with 15 projects and more, some of them should only compiled as 64bit, other only as 32 bit. For example
MySolution
MyClient references MyClientFramework and MyUtils and should compile as 32bit. MyServer references MyServerFramework and MyUtils and should compile as 64bit. Actual I only can compile the 64bit projects, then change the configuration and compile the 32bit projects. I want to compile and debug the whole solution at the same time. How the *.csproj files have to configured?
There is a Batch Build
entry under Build
button, you can use that. It will offer to select the needed projects and configurations. The downside is that Batch Build
does not allow adding new entries, so in case if you need a 32bit and 64bit instance of the same project at once you may need to call msbuild
from the command line directly and specify the project and needed targets (see reference here http://msdn.microsoft.com/en-us/library/vstudio/ms164311.aspx ).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.