[MonoDevelop] Problems building master on Linux due to missing Microsoft.AspNet.Mvc
Matt Ward
ward.matt at gmail.com
Sun Jul 6 08:14:49 UTC 2014
It is possible that the problem is not a certificate problem and a general
networking problem.
There are two errors in the output do not give that that much information.
1) The initialization function tries to access Value on this instance
2) Error: SendFailure (Error writing headers)
Unfortunately 1) is a bug in Lazy<T> on mono and is hiding the underlying
error. The Lazy<T> bug should be fixed in Mono 3.6
Another thing to try is running NuGet.exe with the same command line
arguments, as in the output, but add "-verbosity detailed". This should
display the full call stack of the exceptions which may be give us more
information.
On 6 July 2014 06:43, Miljenko Cvjetko <mcvjetko at holisticware.net> wrote:
> Hi Matt
>
> I'm not sure the certificates are problem. I have compiled and run ASP.net
> vnext for 4 major distros in last few weeks (2-3). Last week when I was
> trying to run more complex samples on mono (MusicStore and Bugzilla) I ran
> into the same problem with "error writing headers".
>
> The guys from the ASP.net vnext chat room pointed me this tweet:
> https://twitter.com/nuget/status/483792456060641280
>
> I get completely different errors if certificates are not installed and/or
> LD_LIBRARY_PATH is not properly set.
>
> HTH
>
> regards
>
> Mel
>
>
> <https://twitter.com/nuget/status/483792456060641280>On 20140705 23:07 ,
> Matt Ward wrote:
>
> 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
>>
>
>
>
> _______________________________________________
> Monodevelop-list mailing listMonodevelop-list at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
> _______________________________________________
> 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/20140706/c5003c12/attachment-0001.html>
More information about the Monodevelop-list
mailing list