[MonoDevelop] MonoDevelop.Autotools addin?

Lluis Sanchez Gual slluis.devel at gmail.com
Mon Mar 8 20:59:56 EST 2010

El dl 08 de 03 de 2010 a les 19:31 -0600, en/na Vasili I. Galchin va
> I added a call to LogginService.LogInfo:
>                 static string GetCompilerName (TargetRuntime runtime,
> TargetFramework fx)
>                 {
> LoggingService.LogInfo("called F# GetCompilerName");   //
> <<<<<<<<<<<<<<<<<<<<<<<<<<
>                         string fsc = runtime.GetToolPath (fx, "fsc");
>                         if (fsc != null)
>                                 return fsc;
>                         else {
>                                 string message =
> GettextCatalog.GetString ("F# compiler not found for {0}.", fx.Name);
>                                 LoggingService.LogError (message);
>                                 throw new Exception (message);
>                         }
>                 }
> The LogInfo message is not displayed indicating to me that
> GetCompilerName is not called!
> From a brute-force find/grep over MonoDevelop it seems that the
> language binding dependent method  GetCompilerName is only called by
> language-binding dependent method Compile. I have LogInfos at the
> beginning of both methods. Neither method seems to be called when I
> select "Build" on MonoDevelop IDE. What exactly causes method Compile
> in CSharpBindingCompilerManager (or in my case
> FSharpBindingCompilerManager)?

The Compile method is called to build the project (but only if it needs
to be built). That method also logs the command line being used, and
that's the log you were posting in you mail. So this method is indeed
being called.


More information about the Monodevelop-list mailing list