Patches item #896171, was opened at 2004-02-13 00:44
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474853&aid=896171&group_id=54790

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michael Gerfen (gerfen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for gac task - file names with spaces

Initial Comment:
The <gac/> task does not support paths with spaces, 
i.e. 'C:\ My Path'.  The following patch corrects the 
problem.

/// <summary>The name of a file that contains an 
assembly manifest.</summary>
[TaskAttribute("assembly")]
public string AssemblyName {
     get { return _assemblyName; }
     set { _assemblyName = String.Format("\{0}\", 
value); }
}

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

>Comment By: Gert Driesen (drieseng)
Date: 2004-02-13 08:05

Message:
Logged In: YES 
user_id=707851

Michael,

We actually need to split up the gac task into separate tasks 
for installing and uninstalling assemblies from the gac.

For installing assemblies into the gac, assembly filenames 
should be supplied.  For uninstalling assemblies from the gac, 
the assembly names should be specified (eg. 
log4net,Version=1.0,Culture=neutral,PublicKeyToken=...), so 
this is something completely different ...

Concerning your patch : the current gac task should not have 
any problems with spaces in paths as paths are being quoted 
in the ProgramArguments property.  This was fixed after the 
0.84 release.

Have you tried one of the recent nightly builds ? 
(http://nantcontrib.sourceforge.net/nightly/builds)



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474853&aid=896171&group_id=54790


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to