Solution task sometimes puts two dots in resource names where there should only be 
one.  This patch fixes the problem.

Can someone apply it for me?

The patch is inline below my signature.

Thanks
-------------------------------------
Tom Cabanski, President
Objective Advantage, Inc.
http://www.oai.cc
Phone: +1-281-348-2517x15


cvs diff Resource.cs (in directory C:\cvsroot\nant\src\NAnt.VSNet\)
Index: Resource.cs
===================================================================
RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/Resource.cs,v
retrieving revision 1.13
diff -r1.13 Resource.cs
22a23
> using System.Text;
222c223,234
<                 strOutFile = _projectSettings.RootNamespace + "." + 
Path.GetDirectoryName(_resourceSourceFileRelativePath).Replace("\\", ".") + "." + 
Path.GetFileNameWithoutExtension(_resourceSourceFile) + ".resources";
---
>                 StringBuilder sb = new StringBuilder();
>                 if (_projectSettings.RootNamespace.Trim().Length > 0) {
>                     sb.Append(_projectSettings.RootNamespace);
>                 }
>                 if (Path.GetDirectoryName(_resourceSourceFileRelativePath).Length > 
> 0) {
>                     sb.AppendFormat(".{0}", 
> Path.GetDirectoryName(_resourceSourceFileRelativePath).Replace("\\", "."));
>                 }
>                 if (_resourceSourceFile.Trim().Length > 0) {
>                     sb.AppendFormat(".{0}", 
> Path.GetFileNameWithoutExtension(_resourceSourceFile));
>                 }
>                 sb.Append(".resources");
>                 strOutFile = sb.ToString();

 




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to