2017-04-20 12 views
0

ich diese Schritte zum Einrichten folgte meinem eigenen nuget Server auf dem lokalen Rechner (Mac)Nuget.Server auf Mac OSX

https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server

Ich habe zu Schritt 6 und dann, wenn ich „hier“ klicken es gibt mir der folgende Fehler

System.Web.HttpException 
The resource cannot be found. 

Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. 
Details: Requested URL: /nuget/Packages 
Exception stack trace: 
    at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00094] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System.Web/System.Web/StaticFileHandler.cs:77 
    at System.Web.DefaultHttpHandler.BeginProcessRequest (System.Web.HttpContext context, System.AsyncCallback callback, System.Object state) [0x0007f] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System.Web/System.Web/DefaultHttpHandler.cs:101 
    at System.Web.HttpApplication+<Pipeline>d__225.MoveNext() [0x008d4] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System.Web/System.Web/HttpApplication.cs:1335 
    at System.Web.HttpApplication.Tick() [0x00000] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System.Web/System.Web/HttpApplication.cs:927 

Bitte helfen

Antwort

1

ich zwei Probleme bei diesem Ansatz zu sehen.

  1. Nuget.Server-Dokumentation erwähnt IIS als den Web-Server; IIS läuft nicht unter Mac OSX.
  2. Und, selbst wenn Sie am Ende native web server Ihres Betriebssystems verwenden, benötigen Sie WCF support in mono - die Arbeit scheint in Arbeit zu sein.
+0

Eine Workaround wäre, eine Netzwerkdateifreigabe auf dem Server zu hosten, wie [hier] erwähnt (http://stackoverflow.com/questions/15642139/system-servicemodel-activation-in-mono-3-0-7)). Es spricht über das Linux-Betriebssystem, könnte aber auch für Mac OSX gelten. – Ada