Problem with setting DLL version with MSBuild
-
Wednesday, January 13, 2010 4:45 PMI am trying to set DLL version while building C++ (unmanaged) DLL with MSBuild/VS2005. Here is the command line:
MsBuild.exe ${BuildSrc}\MyApp.sln /t:Rebuild /p:Configuration=Release /property:ApplicationVersion=1.2.3.5
It builds the DLL but unfortunately it doesn’t change the version. Can you help me with that?
Yury P
All Replies
-
Thursday, January 14, 2010 6:59 AM
Hello Yury,
Welcome to MSDN forum.
Before Dev10(Visual Studio 2010), VC++ project is not a MSBuild formatted project and cannot be built by MSBuild engine, MSBuild just delegates the build of C++ projects to VCBuild. So we cannot set the DLL version like /property:ApplicationVersion=1.2.3.5, Which is a MSBuild format.
More information
http://blogs.msdn.com/vcblog/archive/2008/11/20/printf-hello-msbuild-n.aspx
Regards,
Rong-Chun Zhang
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer by Rong-Chun Zhang Tuesday, January 26, 2010 2:17 AM
-
Tuesday, January 19, 2010 10:09 AM
Hello
Have you got any progress on this issue? If there is anything else we can help, welcome to post here.
Regards,
Rong-Chun Zhang
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

