Search

Build Error when enable both Incremental Linking and Generate Map File when rebuild it. by JasonGao180

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 658197
Opened: 4/7/2011 9:48:21 PM
Access Restriction: Public
0
Workaround(s)
1
User(s) can reproduce this bug
I create an empty VC project in vc2010,
enable both Incremental Linking and Generate Map File
Rebuild this project, then get the following error

Error    1    error LNK1104: cannot open file '****\Projects\DllMap\Debug\DllMap.map'

it will get this error when i first build this project, if i build again, it will be ok.
(always get error when i rebuild it.)
Details (expand)

Visual Studio/Silverlight/Tooling version

Visual Studio 2010

What category (if any) best represents this feedback?

 

Steps to reproduce

Create a new empty VC project
Add an empty extern method to this project
Enable Increamental Link
Enable Generating Map File
Rebuild

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

Build error.

Expected results

Build successfully.
File Attachments
File Name Submitted By Submitted On File Size  
DllMap.zip (restricted) 4/7/2011 -
Sign in to post a comment.
Posted by Microsoft on 4/18/2011 at 10:22 AM
The problem has been fixed in our current toolset and will be included in a future release. The problem will show up intermittenly and unfortunately there is no workaround unless you don't specify to generate a map file.

All the information included in a MAP file will be in linker generated PDB file, and can be queried by using DIA. Please check out the DIA2DUMP sample.

If you need a hotfix of this problem for VS2010 SP1, please contact Microsoft PSS.

Thanks again for the bug report.

--
VC++ CodeGen and Tools
Posted by JasonGao180 on 4/13/2011 at 6:16 PM
When could you give a response?
Posted by Microsoft on 4/8/2011 at 2:31 AM
Thank you for reporting the issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.These specialized experts will follow-up with your issue.
Posted by Microsoft on 4/7/2011 at 10:14 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.