Bugs item #1077712, was opened at 2004-12-02 17:51
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1077712&group_id=31650

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 9
Submitted By: Hani Atassi (haniatassi)
>Assigned to: Gert Driesen (drieseng)
Summary: Solution task doesn't compile resources for VC++

Initial Comment:
The <solution> task when given a VC++ solution, it 
doesn't compile the resource file that belongs to the 
solution.

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

>Comment By: Gert Driesen (drieseng)
Date: 2004-12-04 18:58

Message:
Logged In: YES 
user_id=707851

I committed your patch to cvs.

Thanks a lot for your contribution !!!

One little remark: it might be best to extend RcTask instead 
of passing options using the Options attribute, that way 
people that use <rc> can take advantage of it too (without 
falling back to the "options" attribute).

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

Comment By: Hani Atassi (haniatassi)
Date: 2004-12-03 18:36

Message:
Logged In: YES 
user_id=590187

Got another comment and fix. My code doesn't work if you 
are trying to call an NAnt of a project from a different path.

Actually, I forgot to add the following line:
rcTask.BaseDirectory = fileConfig.ProjectDir;

But it doesn't seem that it has any effects. So, to fix the 
problem, I need to add the full path of the RC file as the 
following:

rcTask.RcFile = new FileInfo(Path.Combine
(fileConfig.ProjectDir.FullName, rcFile));

I attached the new fix.. 

Thanks,


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

Comment By: Hani Atassi (haniatassi)
Date: 2004-12-03 01:40

Message:
Logged In: YES 
user_id=590187

Attached is a VC++ solution with the problem. The project 
has a resource file that contains version information. After 
running the NAnt script, the output file won't have a version 
because the resource file hasn't been compiled.

I tracked down the problem to the file �VcProject.cs�. I added 
the required changes to fix the problem and attached the file. 
I added the comment // {date} (ha) at the lines of the 
changes.. 

It works fine with me, let me know how it goes.. :)

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

Comment By: Gert Driesen (drieseng)
Date: 2004-12-02 17:56

Message:
Logged In: YES 
user_id=707851

Can you attach a small repro to this report ?

Any chance you'd like to contribute the changes necessary to 
support resources in VC++ ? ;-)

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to