Jump to content
Sign in to follow this  
ŁukaszDe

MSBuild and genearating MapFile

Recommended Posts

Hi,

 

Do you know how to generate a map file using MSBuil?

I try add /p:mapfile=Detailed and this is accepted but map file is not created.

When I set option in Linking property of project than map file is created.

 

Command is:

msbuild /p:config=Testy;mapfile=Detailed /nologo /target:Build "D:\\Demo\Project.dproj"

Share this post


Link to post

That's right, I add DCC_MapFile=3 to parameters:

msbuild /p:config=Testy;mapfile=Detailed;DCC_MapFile=3 /nologo /target:Build "D:\\Demo\Project.dproj"

And the map file was created.

 

Thank you.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×