#747 framework::exists not work with include

0.90
open
nobody
Functions (16)
5
2010-08-10
2010-08-10
No

The follow sequence does not work if MONO is not present:

<include if="${framework::exists('mono-2.0')}" name="${path::combine(framework::get-assembly-directory('mono-2.0'), 'Mono.CompilerServices.SymbolWriter.dll')}" />

It produce the follow error:

Function call failed.
Expression: ${path::combine(framework::get-assembly-directory('mono-2.0'), 'Mono.CompilerServices.SymbolWriter.dll')}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed to initialize the 'Mono 2.0 Profile' (mono-2.0) target framework.
Registry Path Not Found! - key='SOFTWARE\Novell\Mono\';hive='Microsoft.Win32.RegistryHive[]';

The problem occur with version 0.85 and 0.90.

Discussion

  • Ryan Boggs

    Ryan Boggs - 2010-08-21

    I was able to duplicate this. I just need to see what the best course of action is.

     
  • Ryan Boggs

    Ryan Boggs - 2010-08-21

    Sample Build File that recreates issue

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks