Bugs item #3023699, was opened at 2010-07-01 03:33 Message generated for change (Comment added) made by eberhard You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3023699&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: Framework support Group: 0.91-alpha1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Eberhard Beilharz (eberhard) Assigned to: Nobody/Anonymous (nobody) Summary: Build error when referencing System.Management Initial Comment: When building for .NET 4.0 and the csc task includes a reference to System.Management.dll the build fails with: [csc] c:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Management.dll: error CS1703: An assembly with the same identity 'System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references. [csc] c:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Management.dll: (Location of symbol related to previous error) ---------------------------------------------------------------------- >Comment By: Eberhard Beilharz (eberhard) Date: 2010-07-01 03:44 Message: The reason it fails is a typo in NAnt.exe.config where System.Management.dll is misspelled. See patch #3023707 for a fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3023699&group_id=31650 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers