How to replace the deprecated csc ant task

Posted by GrGr on Stack Overflow See other posts from Stack Overflow or by GrGr
Published on 2010-03-12T17:27:24Z Indexed on 2010/03/12 17:27 UTC
Read the original article Hit count: 256

Filed under:
|
|
|

I have a mixed Java / C# project and use an ant script that contains a csc task to compile the dll. This works, but I get a warning

  [csc] This task is deprecated and will be removed in a future version
  [csc] of Ant.  It is now part of the .NET Antlib:
  [csc] http://ant.apache.org/antlibs/dotnet/index.html

How can I replace the csc task? I can surely create an exec task calling nant with a project.build file, but that feels completely wrong.

© Stack Overflow or respective owner

Related posts about ant

Related posts about nant