NAnt build issues with Mono

Posted by calmcajun on Stack Overflow See other posts from Stack Overflow or by calmcajun
Published on 2011-01-01T01:51:09Z Indexed on 2011/01/01 1:53 UTC
Read the original article Hit count: 495

Filed under:
|

I am trying to build a Mono project using NAnt but I get the error listed below. I have tried altering the environment variable PKG_CONFIG_PATH to include the path leading to the file: mono.pc but that does not seem to work.

Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework.:
NAnt.Core.BuildException: Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework. ---> Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.:
NAnt.Core.BuildException: Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.
  at NAnt.Core.Tasks.FailTask.ExecuteTask () [0x00000] in <filename unknown>:0 
  at NAnt.Core.Task.Execute () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at NAnt.Core.FrameworkInfo.Init () [0x00000] in <filename unknown>:0 
  at NAnt.Core.FrameworkInfo.Validate () [0x00000] in <filename unknown>:0 
  at NAnt.Core.ProjectSettingsLoader.ConfigureRuntimeFramework () [0x00000] in <filename unknown>:0 

© Stack Overflow or respective owner

Related posts about mono

Related posts about nant