[MonoDevelop] MonoDevelop.Autotools addin?

Vasili I. Galchin vigalchin at gmail.com
Tue Mar 9 00:42:49 EST 2010


Hi Lluis,

I did a "Clean All" (even though I created a brand new F# project) and then
a I did Build All. I don't get any of my LogIn messages that I inserted into
my FSharpBindingCompilerManager.cs (especially it's Compile method). Is it
possible that my F# FSharpBindingCompilerManager.cs is not being used but
C#'s instead?? In my .csproj I reference FSharpBindingCompilerManager:

 <ItemGroup>
    <Compile Include="MonoDevelop.FSharp\FSharpLanguageBinding.cs" />
    <Compile Include="MonoDevelop.FSharp\FSharpBindingCompilerManager.cs" />
    <Compile Include="MonoDevelop.FSharp\FSharpEnhancedCodeProvider.cs" />
    <Compile
Include="MonoDevelop.FSharp.Project\FSharpCompilerParameters.cs" />
    <Compile Include="MonoDevelop.FSharp.Project\FSharpProjectParameters.cs"
/>
    <Compile Include="MonoDevelop.FSharp.Project\FSharpResourceIdBuilder.cs"
/>
  </ItemGroup>


Vasili



On Mon, Mar 8, 2010 at 7:59 PM, Lluis Sanchez Gual
<slluis.devel at gmail.com>wrote:

> El dl 08 de 03 de 2010 a les 19:31 -0600, en/na Vasili I. Galchin va
> escriure:
> > 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.
>
> Lluis.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100308/47af00be/attachment.html 


More information about the Monodevelop-list mailing list