Bugs item #1105576, was opened at 2005-01-19 21:49
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1105576&group_id=31650

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Rajiv (rajivdga)
>Assigned to: Gert Driesen (drieseng)
Summary: ResGenTask locks .resx file

Initial Comment:
The resgen task continues to hold a lock on the input 
file after it completes.  Probably it is because in 
ReferencesThirdPartyAssemblies() the StreamReader is 
not disposed.

Change it to this and the problem goes away:
----
using (StreamReader streamreader = new StreamReader
(resourceFile, true))
{
  XmlTextReader xmltextreader = new XmlTextReader
(streamreader);
  XPathDocument xpathDoc = new XPathDocument
(xmltextreader);
...
----




----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2005-01-20 07:26

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs.

Thanks for the report (good catch) !

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1105576&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to