Bugs item #3023699, was opened at 2010-07-01 01:33
Message generated for change (Comment added) made by rmboggs
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Eberhard Beilharz (eberhard)
>Assigned to: Ryan Boggs (rmboggs)
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: Ryan Boggs (rmboggs)
Date: 2010-07-03 20:50
Message:
Thanks for the report Eberhard. I commited the fix and confirmed that it
works with the test you sent it. It will be in 0.91 Alpha2.
----------------------------------------------------------------------
Comment By: Eberhard Beilharz (eberhard)
Date: 2010-07-01 01: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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers