[MonoDevelop] Problems building master on Linux due to missing Microsoft.AspNet.Mvc

Matt Ward ward.matt at gmail.com
Sat Jul 5 21:07:40 UTC 2014


The MonoDevelop.AspNet.csproj is using NuGet.exe to download a few NuGet
packages from nuget.org.

I would try importing the trusted root certificates
<http://stackoverflow.com/questions/15181888/nuget-on-linux-error-getting-response-stream>
to
see if that allows you to use NuGet.exe.


On 5 July 2014 20:12, Timotheus Pokorra <timotheus.pokorra at solidcharity.com>
wrote:

> Hello,
> since a couple of days, I cannot build master on Linux anymore.
> I suspect it is related to the commit
>
> https://github.com/mono/monodevelop/commit/c4f7804fda12518d69c2db3766afcfecdfb5fdc2
>
> See the relevant log of make below.
>
> I wonder where to get the Microsoft AspNet dlls?
> What is the recommended way?
>
> Thank you,
>   Timotheus
>
> part of the output of make on master:
>
> Project
> "/root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj"
> (default target(s)):
>     Target BeforeBuild:
>         Executing: mono ../../../external/nuget-binary/NuGet.exe
> restore -SolutionDirectory ../../..
>         WARNING: The initialization function tries to access Value on
> this instance
>         WARNING: Error: SendFailure (Error writing headers)
>         WARNING: The initialization function tries to access Value on
> this instance
>         Unable to find version '4.0.30506' of package
> 'Microsoft.AspNet.Mvc'.
>         Unable to find version '2.0.30506' of package
> 'Microsoft.AspNet.WebPages'.
>         Unable to find version '2.0.30506' of package
> 'Microsoft.AspNet.Razor'.
>
> /root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj:
> error : Command 'mono ../../../external/nuget-binary/NuGet.exe restore
> -SolutionDirectory ../../..' exited with code: 1.
>     Task "Exec" execution -- FAILED
>     Done building target "BeforeBuild" in project
>
> "/root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj".--
> FAILED
> Done building project
>
> "/root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj".--
> FAILED
> Task "MSBuild" execution -- FAILED
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20140705/415d4b34/attachment.html>


More information about the Monodevelop-list mailing list