Bugs item #1607209, was opened at 2006-12-02 01:25 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1607209&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Tasks Group: 0.85 >Status: Closed >Resolution: Fixed Priority: 8 Private: No Submitted By: Nick Lassonde (ziktar) >Assigned to: Gert Driesen (drieseng) Summary: Crash when Project Configuration differs from Solution Initial Comment: I have a Visual Studio solution with multiple configurations. Let's call them "Debug A", and "Debug Sln ". Some of the projects that are linked with these configs are also called "Debug A" and "Debug B". These work fine. Other projects, however, just have "Debug". These projects fail to build with Nant. I traced the code back, and found that VcProject.IsManaged looks up the configuration based on the Solution Configuration Name, not on the Project Configuration Name. As such, when the Project & Solution name differ, then projectConfig is null, and thus an exception is thrown. Changing VcProjectConfiguration.LinkerConfig.ImportLibrary from: if (!Project.IsManaged(_projectConfig.Name)) { to: if (!Project.IsManaged(_projectConfig.SolutionTask.Configuration)) { fixes this issue. ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2006-12-02 22:22 Message: Logged In: YES user_id=707851 Originator: NO This is now fixed in cvs, and the fix will be part of the 0.86 release. Thanks for the report! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1607209&group_id=31650 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers