I Google'd and searched the archives, but couldn't find an answer.

I'm having a problem with the <solution> task and resgen.
Specifically, one of my .resx files (which contains 0 resources, by
the way) won't compile, and I believe the problem is that NAnt is
incorrectly forumlating the command line.

I turned verbose on for the solution task. This is the error:

 [solution]  - C:\Build\Working\ngonline\ngweb\ngs\so.aspx.resx
               [resgen] Output file
'C:\Build\Working\ngonline\ngweb\obj\Release\ngservices.so.rengservices.sources'
does not exist, recompiling.
               [resgen] Starting 'C:\Program
Files\Microsoft.NET\SDK\v1.1\bin\resgen.exe (
"C:\Build\Working\ngonline\ngweb\ngs\so.aspx.resx"
"C:\Build\Working\ngonline\ngweb\obj\Release\ngservices.so.rengservices.sources")'
in 'C:\DOCUME~1\bradw\LOCALS~1\Temp\1\tmp264.tmp'
               [resgen] Read in 0 resources from
'C:\Build\Working\ngonline\ngweb\ngs\so.aspx.resx'
               [resgen] error: Unknown file extension '.sources'

You can see that the 2nd command line argument is clearly not right.
It's inserted "ngservices." in the middle of the ".resources" file
extension.

Anybody ever seen this? My solution task is about as simple as you can get:

<solution verbose="true" configuration="release">
        <projects>
                <include name="**.csproj" />
        </projects>
</solution>

And I'm using:

NAnt 0.85 (Build 0.85.1779.0; nightly; 11/14/2004)

(I was using 0.84 release, and figured I'd try to upgrade just to see
if the problem was a known, fixed bug). I figured I'd ask the list
before I dove into the source for the resgen task to try and track the
problem down.

Thanks...

-- 
Brad Wilson
http://www.dotnetdevs.com/
http://dotnetguy.techieswithcats.com/


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to