[MonoDevelop] add-in pre build event
ward.matt at gmail.com
Wed Jun 17 08:43:30 UTC 2015
The NuGet addin in MonoDevelop 5 restores NuGet packages when the solution
is opened. There is an option in Preferences that you can use to disable or
enable this. It was decided to do the restore on opening the solution
instead of pre-build since the assemblies are then made available for code
completion as soon as possible.
The ProjectService has a BuildStarted event which you could use to trigger
some pre-build logic.
On 17 June 2015 at 06:27, Daniel Hughes <trampster at gmail.com> wrote:
> I'm trying to implement a mono develop add-in for a package manager
> which will restore packages on before a build.
> I've had a look at:
> But am struggling to identify the extension point to use to get a pre
> build event.
> Does anyone know what extension point I need and also does anyone know
> of an add-in which hooks the pre-build to perform an action, that I
> can use as an example.
> I already looked at the nuget addin but that doesn't yet do a restore
> in a pre build hook. This is going to be a problem for nuget in the
> future because the recommended way of using nuget is to run the
> restore prebuild in a IDE hook, rather then the old
> MSBuild-Integrated package restore. People are going to start
> complaining that their visual studio solutions setup for automatic
> package restore don't work in Mono Develop. However that is an aside
> and is a problem for another day.
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list