#388 C++ /clr option ignored on file basis

0.85
closed-fixed
Tasks (408)
5
2005-05-03
2005-04-27
Grarl
No

I have one file that needs to be compiled with managed
support. My project as a whole does not use the /clr,
only this file.
This builds fine in VStudio, but NAnt will not honor
the /clr option that is set on only this file.

Discussion

  • Grarl

    Grarl - 2005-04-27

    NAnt build script

     
  • Grarl

    Grarl - 2005-04-27

    VS project with settings to illustrate the problem

     
  • Grarl

    Grarl - 2005-04-27

    Logged In: YES
    user_id=1235618

    To fix this, change VcArgumentMap.cs as follows:
    In the CreateCLArgumentMap() function add
    map.AddEnum("CompileAsManaged", null, null, null, "/clr" );
    to the General section; following DebugInformationFormat if
    you want to use the same order as in the config dialog of
    VStudio.

     
  • Gert Driesen

    Gert Driesen - 2005-05-03
    • milestone: --> 0.85
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2005-05-03

    Logged In: YES
    user_id=707851

    This is now committed in cvs.

    Thanks for the report, repro and the "patch" !

     
  • Grarl

    Grarl - 2005-05-04

    Logged In: YES
    user_id=1235618

    Great! Will look forward to it in the next nightly.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks