Not sure what's going on.

I'm trying to compile a project that has resx files
created by visual studio. I'm using the following
target.

<target name="build>
  <csc target="library" output="MyAssembly.dll">
      <sources>
         <include name="Project\**.cs" />
      </sources>
      <resources>
         <include name="Project\**.resx" />
      </resources>
   </csc>
</target>

I am using the .NET 2.0 Framework and it's barfing on
the resgen when it runs the csc task. I get the
following message.

[resgen] ResGen : error RG0000: Invalid command line
syntax.  Switch: "/compile"  Bad value:
"/usesourcepath"

So is CSC mucked up for the 2.0 version when it comes
to using the ResGen?

I did get the resource files to generate using the
<resgen> task, however, I'm not sure how to embed them
into my assembly.

Any help would be appriciated.







                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to