0

I have a project, which is actually build on Win32/.Net4.0 (VS2012). Now I need to build this project also to x64/.Net4.0, as well as Win32/3.5 and x64/3.5.

I know it's possible with 4 projects, and build every project each time.But the code is always the same, so I want to know if it possible to have one project, which is build on every target on one build process?

Thanks kooki

1 Answer 1

1

You can invoke msbuild multiple times against the same project/solution to cover all your required configurations. Just pass the configuration via the command line. So, for a Release configuration for x86:

msbuild MySolution.sln /p:Configuration=Release /p:Platform=x86

You can then add a second call for another target platform.

Sign up to request clarification or add additional context in comments.

1 Comment

I use a little different version, but your answer works too :-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.