JetBrains / Nitra

Public Nitra repository
Other
554 stars 43 forks source link

Nitra failed to run, because ncc compiler not found #39

Open ghost opened 9 years ago

ghost commented 9 years ago

Just tried nitra from binary distribution (without installer). It is just not work as expected or documented and fails with error:

Nemerle command line compiler 'C:\Program Files (x86)\Nemerle\Net-4.0\ncc64.exe' not found.

This happens because runInAppropriateProcess follow NemerleBinPathRoot environment variable, and fallback to predefined value (program files).

Also, note, that it is not deal with default search path, as it is documented in Install.

From user perspective, it should choose ncc what are located near nitra.exe, and only if it is not exist - fallback to other choices (NemerleBinPathRoot, default install location, or may be let system to search path).