Coder Social home page Coder Social logo

chriseldredge / klondike Goto Github PK

View Code? Open in Web Editor NEW
299.0 59.0 74.0 2.74 MB

Ember front-end that builds on NuGet.Lucene for private package hosting

License: Apache License 2.0

JavaScript 49.83% HTML 1.20% C# 22.07% SCSS 2.29% Handlebars 24.61%

klondike's Introduction

Klondike Build status

Ember front-end that builds on NuGet.Lucene for private NuGet package hosting.

Binaries

Available from the Releases tab on github.

Alternatively, you can clone the Klondike-Release git repo to make upgrading easier.

Preview binaries can be obtained from the Artifacts tab of a successful AppVeyor build.

What is Klondike

Klondike is an asp.net web application you deploy to your own web server or to the cloud that works as a private NuGet package feed for storing private packages your organization creates. Klondike can also automatically restore packages sourced from 3rd party feeds, such as the nuget.org public feed, to keep your build server humming even when nuget.org is unavailable.

Klondike performs dramatically better than the standard NuGet.Server provider and adds lots of extra features you can't get anywhere else. Klondike uses Lucene.Net meaning that the install footprint is light. Simply grab the binaries, stand up an IIS site (or run the self-hosted exe) and you're done. Much easier than deploying your own NuGet Gallery.

How to Deploy Klondike

  1. Grab a binary zip from the Releases tab or clone Klondike-Release
  2. Customize Settings.config
  3. Create a site in IIS using a .NET v4.0 Integrated Pipeline application pool

N.B. Klondike works best deployed as a root application and is only supported in this configuration. There are known issues with NuGet clients when attempting to host Klondike as a child application on a virtual path. In addition, the Ember web application will not work correctly unless it is rebuilt with a different virtual path.

App Pool Advanced Configuration

Klondike is designed to run as a single process to avoid conflicting writes on the Lucene index files. Adjust your application pool accordingly:

  • Make sure Maximum Worker Processes is set to 1
  • Make sure Disable Overlapped Recycle is set to true

Authentication and Role-Based Security

Klondike supports external authentication providers such as Windows (Active Directory), basic auth and NTLM. These are configured in IIS Manager and other tools.

Disable anonymous authentication to require authentication even for read access to Klondike.

In addition to standard authentication, Klondike supports authentication by using the X-NuGet-ApiKey HTTP Request header to be compatible with NuGet clients that push and delete packages.

Local Administrator

Browsing or accessing the Klondike app from a local network interface on the same machine will implicitly grant access as LocalAdministrator. This account is allowed to create additional users, push and delete packages.

You can disable this behavior by editing handleLocalRequestsAsAdmin in Settings.config.

Mapping Active Directory Roles to Klondike

Edit the roleMappings section in Web.config to grant Klondike roles for user administration and package management to existing roles in your external security provider (such as Active Directory). Multiple groups can be specified delimited by commas. Membership in any one role is sufficient to grant a Klondike role.

The available roles and their permissions are:

  • PackageManager - Allowed to push and delete packages
  • AccountAdministrator - Allowed to administer accounts

Creating Users and Passwords

Any user who has the AccountAdministrator role may create, delete and modify accounts and API keys. This includes the LocalAdministrator account.

To access this feature, browse to Klondike and select Admin in the top navigation, then Manage Accounts.

Self-Hosted Klondike

The binary release also includes Klondike.SelfHost.exe in the bin directory. It can be run from the console using mono or the .net framework:

Klondike.SelfHost.exe --port=8080

Or

mono ./Klondike.SelfHost.exe --interactive --port=8080

Klondike requires Mono 4.2.0 or later.

If no port is specified, 8080 is used as a default. See the Klondike.SelfHost README for more information.

Building Locally

This repository consists of two components:

  1. Ember front-end built and packaged by ember-cli
  2. c# project built by MSBuild or xbuild

Front End

Prerequisites: node (node and npm should be on your PATH).

Install ember-cli and bower if you haven't already:

npm install -g [email protected]

Install dependencies:

npm install && bower install

Finally, build:

ember build

This puts the built app into ./dist.

Note: if you do not have the .NET 4.5 SDK or Mono 3.6 MDK installed you can skip building the .net assets by using the ember-only environment:

ember build --environment=ember-only

.NET Back End

The c# projects can be built on Windows or OS X / Linux. On Windows, install Visual Studio 2013 and the Microsoft.NET Framework 4.5 SDK. On OS X / Linux, install the Mono MDK

Mono can also be installed by homebrew on OS X.

Front End development without .NET

You can develop the front end without needing to build or host the .net code.

Edit config/environment.js and set the apiURL and (optionally) apiKey properties to point to an external Klondike API endpoint, then run

ember serve --environment=ember-only

Previewing debug/release builds

You can serve production builds with:

ember serve --environment=production

Integration Tests

Coming Real Soon Now.

klondike's People

Contributors

bker avatar chriseldredge avatar dependabot[bot] avatar jessabean avatar tmulkern avatar wurmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

klondike's Issues

Always get a login-window in vs2013

login
Hello,

I have currently the problem that logging on to the website works. Only in visual studio I'm always asked for a password. In IIS Windows Authentifcation is enabled.

Maybe Do you know the problem already and can tell me what configuration is wrong?

Thank you very much
Dennis

Return from api breaks app

Clicking the link to Api, then the back button, causes the request to load api info to return html instead of json. This breaks the app.

OData $skip and $select exception

On self-host branch,

GET /api/odata/Packages?$skip=1&$select=Id

Fails with:

System.InvalidOperationException    
Cannot replace reference to clause 'p', there is no mapped expression.
   at Remotion.Linq.Clauses.ExpressionTreeVisitors.ReferenceReplacingExpressionTreeVisitor.VisitQuerySourceReferenceExpression(QuerySourceReferenceExpression expression)
   at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitAndConvert[T](T expression, String methodName)
   at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitList[T](ReadOnlyCollection`1 list, Func`2 visitMethod)
   at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMethodCallExpression(MethodCallExpression expression)
   at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMemberExpression(MemberExpression expression)
   at Remotion.Linq.Clauses.OrderByClause.TransformExpressions(Func`2 transformation)
   at Remotion.Linq.QueryModel.TransformExpressions(Func`2 transformation)
   at Remotion.Linq.Clauses.ExpressionTreeVisitors.ReferenceReplacingExpressionTreeVisitor.VisitSubQueryExpression(SubQueryExpression expression)
   at Remotion.Linq.Clauses.FromClauseBase.TransformExpressions(Func`2 transformation)
   at Remotion.Linq.QueryModel.TransformExpressions(Func`2 transformation)
   at Lucene.Net.Linq.LuceneQueryExecutorBase`1.<ExecuteCollection>d__3`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Web.Http.OData.Query.TruncatedCollection`1..ctor(IQueryable`1 source, Int32 pageSize)
   at System.Web.Http.OData.Query.ODataQueryOptions.LimitResults[T](IQueryable`1 queryable, Int32 limit, Boolean& resultsLimited)

FindPackagesById returns a prerelease even when not configured to do so

Hi,

This URL:
GET /i/nuget/FindPackagesById()?$filter=IsLatestVersion&$top=1&id='uxFactory.Wpf' HTTP/1.1

(which is in fact calling /i/api/odata/FindPackagesById* since I rewrite the URL using Helicon Ape)

...gives the following result:

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 3269
Content-Type: application/atom+xml;charset=utf-8
Server: Microsoft-IIS/7.5
DataServiceVersion: 2.0;
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Date: Fri, 29 Nov 2013 08:53:37 GMT

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xml:base="https://some.server.net/i/api/odata/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
  <title type="text">FindPackagesById</title>
  <id>https://some.server.net/i/api/odata/FindPackagesById</id>
  <updated>2013-11-29T08:53:37Z</updated>
  <link rel="self" title="FindPackagesById" href="FindPackagesById" />
  <entry>
    <id>https://some.server.net/i/api/odata/Packages(Id='uxFactory.Wpf',Version='2013.11.0-pre1')</id>
    <title type="text">uxFactory.Wpf</title>
    <summary type="text"></summary>
    <updated>2013-11-26T15:02:12Z</updated>
    <author>
      <name>eCraft</name>
    </author>
    <link rel="edit-media" title="DataServicePackage" href="Packages(Id='uxFactory.Wpf',Version='2013.11.0-pre1')/$value" />
    <link rel="edit" title="DataServicePackage" href="Packages(Id='uxFactory.Wpf',Version='2013.11.0-pre1')" />
    <category term="NuGet.Lucene.Web.DataServices.DataServicePackage" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <content type="application/zip" src="https://some.server.net/i/api/packages/uxFactory.Wpf/2013.11.0-pre1/content" />
    <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
      <d:Version>2013.11.0-pre1</d:Version>
      <d:Title m:null="true"></d:Title>
      <d:Owners>eCraft</d:Owners>
      <d:IconUrl m:null="true"></d:IconUrl>
      <d:LicenseUrl m:null="true"></d:LicenseUrl>
      <d:ProjectUrl>http://some.server.net/uxfactory</d:ProjectUrl>
      <d:DownloadCount m:type="Edm.Int32">0</d:DownloadCount>
      <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance>
      <d:Description>uxFactory.Wpf. Functionality for building uxFactory applications that target the WPF platform.</d:Description>
      <d:ReleaseNotes m:null="true"></d:ReleaseNotes>
      <d:Created m:type="Edm.DateTime">2013-11-26T15:02:12.0342Z</d:Created>
      <d:Published m:type="Edm.DateTime">2013-11-26T15:02:12.0342Z</d:Published>
      <d:Dependencies>uxFactory.Core:[2013.11.0-pre1]:|uxFactory.Controls:[2013.11.0-pre1]:</d:Dependencies>
      <d:PackageHash>2GgS1wP2GCXqoK0yJ62/rgytVikNoYbhbSiev/QUDrYACFv/K8FTNAo15I/CP3ITUqP4UasiCin17WVbphih7w==</d:PackageHash>
      <d:PackageHashAlgorithm>SHA512</d:PackageHashAlgorithm>
      <d:PackageSize m:type="Edm.Int64">7873</d:PackageSize>
      <d:Copyright m:null="true"></d:Copyright>
      <d:Tags xml:space="preserve"> uxFactory mvvm wpf framework </d:Tags>
      <d:IsAbsoluteLatestVersion m:type="Edm.Boolean">true</d:IsAbsoluteLatestVersion>
      <d:IsLatestVersion m:type="Edm.Boolean">true</d:IsLatestVersion>
      <d:IsPrerelease m:type="Edm.Boolean">true</d:IsPrerelease>
      <d:Listed m:type="Edm.Boolean">true</d:Listed>
      <d:VersionDownloadCount m:type="Edm.Int32">0</d:VersionDownloadCount>
      <d:Score m:type="Edm.Single">0</d:Score>
      <d:Summary m:null="true"></d:Summary>
    </m:properties>
  </entry>
</feed>

This is very bad since it means that our users will get a prerelease, without asking for it... The standard NuGet.Server works correctly in this regard. Any ideas?

Package Mirroring leaves turds

When MirroringPackageRepository mirrors a package from a remote package feed to local, the underlying NuGet.Core subsystem leaves a copy of that package in %AppDataLocal%\NuGet\Cache. It also leaves the package contents expanded in %AppDataLocal%\Temp\NuGet

There is no way to disable this cache.

The result is that when a package is mirrored, we get 2 copies on the local system: one in Klondike's Packages folder, and one in NuGet's cache.

This is not an ideal use of disk space.

Cannot log in via web

If the user is not logged in and the server uses basic authentication, clicking the Sign In link produces a 401 (at least in Chrome), and the app fails to handle this and prompt for credentials.

The sign in process should attempt to collect credentials from the user and send them to the server to obtain an auth token.

Published timestamp

Not sure if this is a Klondike thing or a OctoDeploy thing, but all of the published dates from Klondike-backed packages show up as Dec 31, 1600:

email releases - octopus 2013-09-16 11-36-29

Should be an easy fix if it's klondike, just adding a property to fetch from the FS when it scans packages, probably the file created date. Just wanted to check first before diving in to a fix. Willing to do the work on a PR if desired.

Mirror Not Being Used

We have a legacy nuget feed for some of our older builds & have set this up as a mirror.

Since upgrading to 1.3.3 from 1.0.1 we can no longer get packages from the mirror. From the logs, it doesn't seem to try and locate the package in the mirror.

Comprehensive installation instructions?

The README is not very comprehensive when it comes to installing Klondike with the release package. Are there step-by-step instructions somewhere for getting Klondike running, assuming a fresh installation of Windows Server (for example)? I am having trouble filling in the blanks (or even getting started, really).

I have IIS installed, .NET 2.0 to 4.5.2 installed, and MSBuild 12.

Cannot run in a subfolder

Hi again,

Trying to deploy the service in a subfolder (since we have one single https site, hosting multiple apps), which seems to work "not so well". Is it Klondike or Lucene.Web which doesn't support this scenario properly?

This is what I get when browsing to the default page (using the latest binary snapshot), in my Chrome developer tools JS console:


Loading ajax api info from /api/ bundle.js?v=9u3Einbq4o4DvsWCMyHaK4F81XBsYBQtkEQWS9MI78Y1:1
GET https://some.server.net/api/ 403 (Forbidden) bundle.js?v=9u3Einbq4o4DvsWCMyHaK4F81XBsYBQtkEQWS9MI78Y1:1

It should be /i/api in this case, since the site is hosted in the i subfolder. Would this be possible to fix? It's not really possible for me to host it in the root, because of the https (unless I use some creative reverse proxying techniques... ๐Ÿ˜„)

The file '/i/Index.aspx' has not been pre-compiled, and cannot be requested.

Hi,

Trying to set up Klondike, but I'm getting the error below when building from source. When using the binary snapshot it works better. What could be the issue?

I have built the project using a command line like this (tried first to build in VS using publish wizard, could that have messed things up?)

I used the following build command to compile it (with VS2013):

msbuild IntegratedBuild.proj

It builds fine, but when I deploy the APP to an IIS 7.5 server, I get the error below when trying to navigate to https://some.server/i, where the app is deployed. As stated, it works fine (or at least much better ๐Ÿ˜„) with the binary snapshot. Is the current master broken somehow, or am I missing something?

Thanks in advance.

Server Error in '/i' Application.

The file '/i/Index.aspx' has not been pre-compiled, and cannot be requested.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: The file '/i/Index.aspx' has not been pre-compiled, and cannot be requested.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[HttpException (0x80004005): The file '/i/Index.aspx' has not been pre-compiled, and cannot be requested.]
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +956
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +201
   System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) +177
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +56
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +42
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +493
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408

Service performance under load

Hi!
I just set up Klondike as drop in replacement for default nuget service and with default settings performance is lower then default instance. I have almost 4000 packages in repository. Push of new version takes between 5 to 60s on unused service, but when build agent is performing nuget update in the same time push times out. Is there any way to tune this?

Performance under high load of old service could be increased with web gardens, but probably this would crash lucene in Klondike.

Also unfortunately I'm unable to show any configs from this service.

Regards

Klondike ignores defaultProxy settings

I have a Klondike app running on IIS 8.5 and the server is behind company proxy.
Even after i added the system.net section to the web.config containing details for our proxy server (system settings are defined well) when using netstat -an i am still seeing nuget.org IP address as a endpoint (and normally get a timeout exception).
nuget.exe is detecting and using the proxy just fine, browser access to nuget.org is also going through the proxy, but every access from Klondike to the mirror server (nuget.org by default) is somehow bypassing this route.
This is the system.net section added to web.config:

<system.net>
<defaultProxy enabled="true" useDefaultCredentials="false">
  <proxy autoDetect="true" proxyaddress="http://my.proxy.address" bypassonlocal="true" usesystemdefault="true" />
</defaultProxy>
</system.net>

Any idea on how is this possible?

Thanks.

Hard code LocalAdministrator Api Key in web.config

On systems where authentication is not configured, it would be convenient to optionally specify a well known Api Key in Web.config that will be assigned to LocalAdministrator.

When this key is set, requests to change LocalAdministrator's API key should be denied or result in the same key always being assigned.

Project unloadable

Getting the following error when I try to load the sln:

 The imported project "...\Klondike\source\packages\Microsoft.Bcl.Build.1.0.8\tools\Microsoft.Bcl.Build.targets" was not found.

Lucene Index write.lock failure at startup

Pulling down the latest code, I immediately get an exception on debug when it appears to be trying to access the write.lock file in the Lucene index. If this is just an environment issue - kick me.

The exception occurs on loading of Ninject modules:

{"The process cannot access the file 'D:\Lucene\write.lock' because it is being used by another process."}

Lock obtain timed out: NativeFSLock@D:\Lucene\write.lock: System.IO.IOException: The process cannot access the file 'D:\Lucene\write.lock' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at Lucene.Net.Store.NativeFSLock.Obtain() in d:\Lucene.Net\FullRepo\trunk\src\core\Store\NativeFSLockFactory.cs:line 240

Include version / commit hash in packaging

The packaged binaries of Klondike should include product version and git commit hash. These should be visible from the Ember front end and .net backend (in an api or as a header).

.net + grunt workflow

It would be nice if grunt serve used IIS Express when available so that the local web server would support testing changes in front end and back end without extra steps.

See grunt-iisexpress.

The way assets are currently served out of both ./app and ./tmp will be problematic.

  • Serve ./dist directory using IIS Express
  • Copy required assets into ./.tmp for grunt serve
  • Keep grunt alive until IIS Express exits in grunt serve:dist:iisexpress
  • Enable livereload

Error 500 when searching for packages

The following URL causes the service to throw an exception:

http://nuget/nuget/Search()?$filter=IsLatestVersion%20or%20IsAbsoluteLatestVersion&$orderby=(DownloadCount%20gt%20300)%20and%20(substringof(%27foo%27,Title)%20or%20substringof(%27foo%27,Id))%20desc,DownloadCount%20desc&$top=20&searchTerm=%27foo%27&targetFramework=%27%27&includePrerelease=true

2014-08-15 09:23:41,530 ERROR  22 UnhandledExceptionLogger System.Data.Services.IDataService.InternalHandleException System.InvalidCastException: Unable to cast object of type 'System.Linq.Expressions.SimpleBinaryExpression' to type 'System.Linq.Expressions.MemberExpression'.
   at Lucene.Net.Linq.LuceneQueryModel.AddSort(Expression expression, OrderingDirection direction)
   at Lucene.Net.Linq.Translation.QueryModelTranslator.VisitOrderByClause(OrderByClause orderByClause, QueryModel queryModel, Int32 index)
   at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
   at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
   at Lucene.Net.Linq.Translation.QueryModelTranslator.Build(QueryModel queryModel)
   at Lucene.Net.Linq.LuceneQueryExecutorBase`1.PrepareQuery(QueryModel queryModel)
   at Lucene.Net.Linq.LuceneQueryExecutorBase`1.<ExecuteCollection>d__3`1.MoveNext()
   at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)
   at System.Data.Services.DataService`1.HandleRequest()

We are running version 0.9.0.

Unable to use myget.org authenticated feed as the packageMirrorTargetUrl

Getting an error in the logs about being unauthorised when attempting to use myget.org authenticated feed. I tried putting details in the appdata\roaming\nuget\nuget.config to no avail. Logs output as follows:

2014-03-05 15:18:41,549 ERROR 13 MirroringPackageRepository FindPackagesByIdInOrigin Exception on FindPackagesById('RabbitMQ.Client') for package origin https://www.myget.org/F/my_feed: Could not connect to the feed specified at 'https://www.myget.org/F/my_feed'. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity.
System.InvalidOperationException: Could not connect to the feed specified at 'https://www.myget.org/F/my_feed'. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity. ---> System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: Unauthorized
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
--- End of inner exception stack trace ---
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery1.Execute() at System.Data.Services.Client.DataServiceQuery1.ExecuteInternal()
at NuGet.DataServiceQueryWrapper1.Execute[TResult](Func1 action)
--- End of inner exception stack trace ---
at NuGet.DataServiceQueryWrapper1.Execute[TResult](Func1 action)
at NuGet.DataServiceQueryWrapper1.<GetAll>d__7.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at NuGet.Lucene.Web.Models.MirroringPackageRepository.FindPackagesByIdInOrigin(String id)

Are there additional lines I can put in the config to add authentication details?

Deps missing in dist

Finally got it to build correctly using grunt aside from one issue:

I'm missing the following packages in the ./dist folder after a successful build:

  • Rx-*
  • log4net
  • Microsoft.AspNet.SignalR.*

They are downloaded and used for building the distributable, but they appear to be missing from the bin folder once the build completes.

Develop front end without .NET

The front-end compilation and bundling of javascript, css and handlebars templates should be possible without needing a machine with the asp.net SDK.

Build dep build error

Keep hitting a variety of errors trying to build the Integrated build project. Currently stuck here. Updated to use VS2013.

"Y:\Code\Projects\BFG\Klondike\IntegratedBuild.proj" (default target) (1) ->
"Y:\Code\Projects\BFG\Klondike\source\Klondike\Klondike.csproj" (Rebuild target) (2) ->
"Y:\Code\Projects\BFG\NuGet.Lucene\source\NuGet.Lucene.Web\NuGet.Lucene.Web.csproj" (default target) (3:2) ->
(CoreCompile target) ->
  y:\Code\Projects\BFG\NuGet.Lucene\source\packages\Microsoft.AspNet.WebApi.Core.5.0.0\lib\net45\System.Web.Http.dll :
error CS1705: Assembly 'System.Web.Http, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Syste
m.Net.Http.Formatting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version th
an referenced assembly 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
[Y:\Code\Projects\BFG\NuGet.Lucene\source\NuGet.Lucene.Web\NuGet.Lucene.Web.csproj]

VS2012/13 Package Manager not able to automatically find new builds under Update section

We are in the middle of migrating from an older Server.Lucene nuget server (https://github.com/themotleyfool/NuGet/downloads) to Klondike 1.3.3 nuget server (It's my understanding that Klondike is the replacement for server.lucene). We are running both the older and newer feeds in parallel during the transition (in order to test). Both are accessing the same PackagePath folder on the server, but are using separate LucenePath indexer folders.

We've come across an issue with VS2012/13 Package Manager when pointing to the new Klondike feed. The Package Manager will not determine the newest packages available and offer an Update button under the Updates section. See screenshots below.

When pointed to our old Server.Lucene Nuget server feed, the available updates correctly appear.
image

When pointed to the new Klondike Nuget server feed, nothing appears under updates.
image

Please advise.

TIA

Building .NET component not putting output into ./dist

Everytime I build via MSBuild (or VS), the .NET component of this project is not getting placed into the ./dist directory. I have one build warning additionally. Pasted below. Any help resolving this would be awesome:

PS Y:\Code\Projects\BFg\Klondike> & 'C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe' .\source\Klondike.sln
Microsoft (R) Build Engine version 12.0.21005.1
[Microsoft .NET Framework, version 4.0.30319.18408]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 1/3/2014 9:51:33 AM.
Project "Y:\Code\Projects\BFg\Klondike\source\Klondike.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Any CPU".
Project "Y:\Code\Projects\BFg\Klondike\source\Klondike.sln" (1) is building "Y:\Code\Projects\BFg\Klondike\source\Klond
ike\Klondike.csproj" (2) on node 1 (default targets).
RestorePackages:
  "Y:\Code\Projects\BFg\Klondike\source\.nuget\NuGet.exe" install "Y:\Code\Projects\BFg\Klondike\source\Klondike\packag
  es.config" -source ""  -NonInteractive -RequireConsent -solutionDir "Y:\Code\Projects\BFg\Klondike\source\ "
  All packages listed in packages.config are already installed.
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3277: Found conflic
ts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are
 listed in the build log when log verbosity is set to detailed. [Y:\Code\Projects\BFg\Klondike\source\Klondike\Klondike
.csproj]
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the i
nput files.
CoreCompile:
  C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /d
  efine:DEBUG;TRACE /highentropyva+ /reference:Y:\Code\Projects\BFg\Klondike\source\packages\WebGrease.1.3.0\lib\Antlr3
  .Runtime.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\AspNet.WebApi.HtmlMicrodataFormatter.1.1.0\lib\
  net40\AspNet.WebApi.HtmlMicrodataFormatter.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Common.Loggin
  g.2.1.2\lib\net40\Common.Logging.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Common.Logging.Log4Net1
  211.2.1.2\lib\net40\Common.Logging.Log4Net1211.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\SharpZipL
  ib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\log4net.2.0.0\l
  ib\net40-full\log4net.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Lucene.Net.3.0.3\lib\NET40\Lucene.
  Net.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Lucene.Net.Linq.3.2.53\lib\net40\Lucene.Net.Linq.dll
   /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.Core.1.1.3\lib\net40\Microsoft.Asp
  Net.SignalR.Core.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.Owin.1.1.3\lib
  \net45\Microsoft.AspNet.SignalR.Owin.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.Si
  gnalR.SystemWeb.1.1.3\lib\net45\Microsoft.AspNet.SignalR.SystemWeb.dll /reference:"C:\Program Files (x86)\Reference A
  ssemblies\Microsoft\Framework\.NETFramework\v4.5.1\Microsoft.CSharp.dll" /reference:Y:\Code\Projects\BFg\Klondike\sou
  rce\packages\Microsoft.Owin.Host.SystemWeb.1.0.1\lib\net45\Microsoft.Owin.Host.SystemWeb.dll /reference:Y:\Code\Proje
  cts\BFg\Klondike\source\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll /ref
  erence:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Web.Xdt.1.0.0\lib\net40\Microsoft.Web.XmlTransform.dll
   /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\mscorlib.dll" /refe
  rence:Y:\Code\Projects\BFg\Klondike\source\packages\Newtonsoft.Json.5.0.6\lib\net45\Newtonsoft.Json.dll /reference:Y:
  \Code\Projects\BFg\Klondike\source\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.dll /reference:Y:\Code\Projects\B
  Fg\Klondike\source\packages\Ninject.Extensions.Wcf.3.0.0.5\lib\net45-full\Ninject.Extensions.Wcf.dll /reference:Y:\Co
  de\Projects\BFg\Klondike\source\packages\Ninject.Web.Common.3.0.0.7\lib\net45-full\Ninject.Web.Common.dll /reference:
  Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Web.WebApi-RC.3.0.0.22\lib\net45-full\Ninject.Web.WebApi.dll /r
  eference:Y:\Code\Projects\BFg\Klondike\source\packages\Nuget.Core.2.7.1\lib\net40-Client\NuGet.Core.dll /reference:Y:
  \Code\Projects\BFg\Klondike\source\packages\NuGet.Lucene.1.2.0\lib\net451\NuGet.Lucene.dll /reference:Y:\Code\Project
  s\BFg\Klondike\source\packages\NuGet.Lucene.Web.1.2.0\lib\net451\NuGet.Lucene.Web.dll /reference:Y:\Code\Projects\BFg
  \Klondike\source\packages\Owin.1.0\lib\net40\Owin.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Remoti
  on.Linq.1.15.2.0\lib\net45\Remotion.Linq.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framew
  ork\.NETFramework\v4.5.1\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files (x86)\Reference Asse
  mblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Configuration.dll" /reference:"C:\Program Files (x86)\Referenc
  e Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Core.dll" /reference:"C:\Program Files (x86)\Reference A
  ssemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x
  86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Data.dll" /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Data.Services.dll" /reference:"C:\Program Files
   (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.dll" /reference:"C:\Program Files (x86)\R
  eference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Drawing.dll" /reference:"C:\Program Files (x86)\R
  eference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.EnterpriseServices.dll" /reference:"C:\Program Fi
  les (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Net.Http.dll" /reference:Y:\Code\Proje
  cts\BFg\Klondike\source\packages\Microsoft.Net.Http.2.2.13\lib\net45\System.Net.Http.Extensions.dll /reference:Y:\Cod
  e\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40\System.Net.Http.Formatti
  ng.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Net.Http.2.2.13\lib\net45\System.Net.Http.P
  rimitives.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System
  .Net.Http.WebRequest.dll" /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Core.2.1.30214.0\lib\Net45\Syst
  em.Reactive.Core.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Interfaces.2.1.30214.0\lib\Net45\Sys
  tem.Reactive.Interfaces.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Linq.2.1.30214.0\lib\Net45\Sy
  stem.Reactive.Linq.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Rx-PlatformServices.2.1.30214.0\lib\N
  et45\System.Reactive.PlatformServices.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework
  \.NETFramework\v4.5.1\System.Runtime.Serialization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Micro
  soft\Framework\.NETFramework\v4.5.1\System.ServiceModel.Activation.dll" /reference:"C:\Program Files (x86)\Reference
  Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.ServiceModel.dll" /reference:"C:\Program Files (x86)\Refer
  ence Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.ServiceModel.Web.dll" /reference:"C:\Program Files (x
  86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.ApplicationServices.dll" /reference:"C:\
  Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.dll" /reference:"C:\Prog
  ram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.DynamicData.dll" /reference:
  "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.Entity.dll" /referen
  ce:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.Extensions.dll" /
  reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web.Helpers.
  dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.Core.4.0.30506.0\lib\net40\Syste
  m.Web.Http.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.WebHost.4.0.30506.0\l
  ib\net40\System.Web.Http.WebHost.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.Web.Op
  timization.1.1.0\lib\net40\System.Web.Optimization.dll /reference:Y:\Code\Projects\BFg\Klondike\source\packages\Micro
  soft.AspNet.Razor.3.0.0\lib\net45\System.Web.Razor.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Micros
  oft\Framework\.NETFramework\v4.5.1\System.Web.Services.dll" /reference:Y:\Code\Projects\BFg\Klondike\source\packages\
  Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web.WebPages.Deployment.dll /reference:Y:\Code\Projects\BFg\Klondike
  \source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web.WebPages.dll /reference:Y:\Code\Projects\BFg\Kl
  ondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web.WebPages.Razor.dll /reference:"C:\Program
   Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Xml.dll" /reference:"C:\Program Fil
  es (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Xml.Linq.dll" /reference:Y:\Code\Projec
  ts\BFg\Klondike\source\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll /reference:Y:\Code\Projects\BFg\Klondik
  e\source\packages\WebGrease.1.3.0\lib\WebGrease.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft
  \Framework\.NETFramework\v4.5.1\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Referen
  ce Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Collections.dll" /reference:"C:\Program Files (
  x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.ComponentModel.Annotations.dll" /re
  ference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Componen
  tModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\
  System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framewor
  k\.NETFramework\v4.5.1\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assembl
  ies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Diagnostics.Tools.dll" /reference:"C:\P
  rogram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Diagnostics.Tracing.d
  ll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.D
  ynamic.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\
  Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFra
  mework\v4.5.1\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NET
  Framework\v4.5.1\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework
  \.NETFramework\v4.5.1\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Mi
  crosoft\Framework\.NETFramework\v4.5.1\Facades\System.Linq.Parallel.dll" /reference:"C:\Program Files (x86)\Reference
   Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files
  (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Net.NetworkInformation.dll" /refer
  ence:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Net.Primiti
  ves.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\Sys
  tem.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.
  1\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFra
  mework\v4.5.1\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framew
  ork\.NETFramework\v4.5.1\Facades\System.Reflection.Emit.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\
  Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program File
  s (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Reflection.Emit.Lightweight.dll"
   /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Refl
  ection.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5
  .1\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framew
  ork\.NETFramework\v4.5.1\Facades\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference A
  ssemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Ref
  erence Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Runtime.Extensions.dll" /reference:"C:\Prog
  ram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Runtime.InteropServices.
  dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.
  Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framewo
  rk\.NETFramework\v4.5.1\Facades\System.Runtime.Numerics.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\
  Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files
  (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Runtime.Serialization.Primitives.d
  ll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.R
  untime.Serialization.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramewo
  rk\v4.5.1\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Fr
  amework\.NETFramework\v4.5.1\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Ass
  emblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.ServiceModel.Http.dll" /reference:"C:\Program Files (
  x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.ServiceModel.NetTcp.dll" /reference
  :"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.ServiceModel.Pr
  imitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facade
  s\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETF
  ramework\v4.5.1\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\F
  ramework\.NETFramework\v4.5.1\Facades\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Referen
  ce Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Pro
  gram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Threading.dll" /referen
  ce:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Threading.Tas
  ks.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\Syst
  em.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFram
  ework\v4.5.1\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Fr
  amework\.NETFramework\v4.5.1\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files (x86)\Reference Assemb
  lies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Re
  ference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Xml.XmlSerializer.dll" /debug+ /debug:full
   /optimize- /out:obj\Debug\Klondike.dll /subsystemversion:6.00 /target:library /utf8output App_Start\NinjectWebCommon
  .cs Global.asax.cs Properties\AssemblyInfo.cs "C:\Users\lvanderhoeven\AppData\Local\Temp\.NETFramework,Version=v4.5.1
  .AssemblyAttributes.cs"
_CopyFilesMarkedCopyLocal:
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll" to "bin\Antl
  r3.Runtime.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\AspNet.WebApi.HtmlMicrodataFormatter.1.1.0\lib\net40
  \AspNet.WebApi.HtmlMicrodataFormatter.dll" to "bin\AspNet.WebApi.HtmlMicrodataFormatter.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll" t
  o "bin\Common.Logging.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Common.Logging.Log4Net1211.2.1.2\lib\net40\Common.Lo
  gging.Log4Net1211.dll" to "bin\Common.Logging.Log4Net1211.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dl
  l" to "bin\ICSharpCode.SharpZipLib.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\log4net.2.0.0\lib\net40-full\log4net.dll" to "bin\lo
  g4net.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Lucene.Net.3.0.3\lib\NET40\Lucene.Net.dll" to "bin\L
  ucene.Net.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Lucene.Net.Linq.3.2.53\lib\net40\Lucene.Net.Linq.dll
  " to "bin\Lucene.Net.Linq.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.Core.1.1.3\lib\net40\Micros
  oft.AspNet.SignalR.Core.dll" to "bin\Microsoft.AspNet.SignalR.Core.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.Owin.1.1.3\lib\net45\Micros
  oft.AspNet.SignalR.Owin.dll" to "bin\Microsoft.AspNet.SignalR.Owin.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.SystemWeb.1.1.3\lib\net45\M
  icrosoft.AspNet.SignalR.SystemWeb.dll" to "bin\Microsoft.AspNet.SignalR.SystemWeb.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Owin.Host.SystemWeb.1.0.1\lib\net45\Micros
  oft.Owin.Host.SystemWeb.dll" to "bin\Microsoft.Owin.Host.SystemWeb.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Micro
  soft.Web.Infrastructure.dll" to "bin\Microsoft.Web.Infrastructure.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Web.Xdt.1.0.0\lib\net40\Microsoft.Web.XmlT
  ransform.dll" to "bin\Microsoft.Web.XmlTransform.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Newtonsoft.Json.5.0.6\lib\net45\Newtonsoft.Json.dll"
   to "bin\Newtonsoft.Json.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.dll" to "bin
  \Ninject.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Extensions.Wcf.3.0.0.5\lib\net45-full\Ninjec
  t.Extensions.Wcf.dll" to "bin\Ninject.Extensions.Wcf.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Web.Common.3.0.0.7\lib\net45-full\Ninject.We
  b.Common.dll" to "bin\Ninject.Web.Common.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Web.WebApi-RC.3.0.0.22\lib\net45-full\Ninjec
  t.Web.WebApi.dll" to "bin\Ninject.Web.WebApi.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Nuget.Core.2.7.1\lib\net40-Client\NuGet.Core.dll" to
   "bin\NuGet.Core.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\NuGet.Lucene.1.2.0\lib\net451\NuGet.Lucene.dll" to "
  bin\NuGet.Lucene.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\NuGet.Lucene.Web.1.2.0\lib\net451\NuGet.Lucene.Web.d
  ll" to "bin\NuGet.Lucene.Web.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Owin.1.0\lib\net40\Owin.dll" to "bin\Owin.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Remotion.Linq.1.15.2.0\lib\net45\Remotion.Linq.dll"
  to "bin\Remotion.Linq.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Net.Http.2.2.13\lib\net45\System.Net.Http.
  Extensions.dll" to "bin\System.Net.Http.Extensions.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40
  \System.Net.Http.Formatting.dll" to "bin\System.Net.Http.Formatting.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Net.Http.2.2.13\lib\net45\System.Net.Http.
  Primitives.dll" to "bin\System.Net.Http.Primitives.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Core.2.1.30214.0\lib\Net45\System.Reactive.Core.d
  ll" to "bin\System.Reactive.Core.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Interfaces.2.1.30214.0\lib\Net45\System.Reactive.
  Interfaces.dll" to "bin\System.Reactive.Interfaces.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Linq.2.1.30214.0\lib\Net45\System.Reactive.Linq.d
  ll" to "bin\System.Reactive.Linq.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-PlatformServices.2.1.30214.0\lib\Net45\System.Rea
  ctive.PlatformServices.dll" to "bin\System.Reactive.PlatformServices.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .Helpers.dll" to "bin\System.Web.Helpers.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.Core.4.0.30506.0\lib\net40\S
  ystem.Web.Http.dll" to "bin\System.Web.Http.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.WebHost.4.0.30506.0\lib\net4
  0\System.Web.Http.WebHost.dll" to "bin\System.Web.Http.WebHost.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.Web.Optimization.1.1.0\lib\net40\Sy
  stem.Web.Optimization.dll" to "bin\System.Web.Optimization.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.Razor.3.0.0\lib\net45\System.Web.Ra
  zor.dll" to "bin\System.Web.Razor.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .WebPages.Deployment.dll" to "bin\System.Web.WebPages.Deployment.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .WebPages.dll" to "bin\System.Web.WebPages.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .WebPages.Razor.dll" to "bin\System.Web.WebPages.Razor.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll" to "b
  in\WebActivator.dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\WebGrease.1.3.0\lib\WebGrease.dll" to "bin\WebGrease
  .dll".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.pdb" t
  o "bin\Common.Logging.pdb".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.xml" t
  o "bin\Common.Logging.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Common.Logging.Log4Net1211.2.1.2\lib\net40\Common.Lo
  gging.Log4Net1211.pdb" to "bin\Common.Logging.Log4Net1211.pdb".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Common.Logging.Log4Net1211.2.1.2\lib\net40\Common.Lo
  gging.Log4Net1211.xml" to "bin\Common.Logging.Log4Net1211.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\log4net.2.0.0\lib\net40-full\log4net.xml" to "bin\lo
  g4net.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Lucene.Net.3.0.3\lib\NET40\Lucene.Net.pdb" to "bin\L
  ucene.Net.pdb".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Lucene.Net.3.0.3\lib\NET40\Lucene.Net.xml" to "bin\L
  ucene.Net.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Lucene.Net.Linq.3.2.53\lib\net40\Lucene.Net.Linq.xml
  " to "bin\Lucene.Net.Linq.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.Core.1.1.3\lib\net40\Micros
  oft.AspNet.SignalR.Core.xml" to "bin\Microsoft.AspNet.SignalR.Core.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.Owin.1.1.3\lib\net45\Micros
  oft.AspNet.SignalR.Owin.xml" to "bin\Microsoft.AspNet.SignalR.Owin.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.SignalR.SystemWeb.1.1.3\lib\net45\M
  icrosoft.AspNet.SignalR.SystemWeb.xml" to "bin\Microsoft.AspNet.SignalR.SystemWeb.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Owin.Host.SystemWeb.1.0.1\lib\net45\Micros
  oft.Owin.Host.SystemWeb.xml" to "bin\Microsoft.Owin.Host.SystemWeb.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Newtonsoft.Json.5.0.6\lib\net45\Newtonsoft.Json.xml"
   to "bin\Newtonsoft.Json.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.pdb" to "bin
  \Ninject.pdb".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.xml" to "bin
  \Ninject.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Extensions.Wcf.3.0.0.5\lib\net45-full\Ninjec
  t.Extensions.Wcf.pdb" to "bin\Ninject.Extensions.Wcf.pdb".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Extensions.Wcf.3.0.0.5\lib\net45-full\Ninjec
  t.Extensions.Wcf.xml" to "bin\Ninject.Extensions.Wcf.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Web.Common.3.0.0.7\lib\net45-full\Ninject.We
  b.Common.pdb" to "bin\Ninject.Web.Common.pdb".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Web.Common.3.0.0.7\lib\net45-full\Ninject.We
  b.Common.xml" to "bin\Ninject.Web.Common.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Web.WebApi-RC.3.0.0.22\lib\net45-full\Ninjec
  t.Web.WebApi.pdb" to "bin\Ninject.Web.WebApi.pdb".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Ninject.Web.WebApi-RC.3.0.0.22\lib\net45-full\Ninjec
  t.Web.WebApi.xml" to "bin\Ninject.Web.WebApi.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\NuGet.Lucene.1.2.0\lib\net451\NuGet.Lucene.xml" to "
  bin\NuGet.Lucene.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\NuGet.Lucene.Web.1.2.0\lib\net451\NuGet.Lucene.Web.x
  ml" to "bin\NuGet.Lucene.Web.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Remotion.Linq.1.15.2.0\lib\net45\Remotion.Linq.xml"
  to "bin\Remotion.Linq.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Net.Http.2.2.13\lib\net45\System.Net.Http.
  Extensions.xml" to "bin\System.Net.Http.Extensions.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40
  \System.Net.Http.Formatting.xml" to "bin\System.Net.Http.Formatting.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.Net.Http.2.2.13\lib\net45\System.Net.Http.
  Primitives.xml" to "bin\System.Net.Http.Primitives.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Core.2.1.30214.0\lib\Net45\System.Reactive.Core.x
  ml" to "bin\System.Reactive.Core.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Interfaces.2.1.30214.0\lib\Net45\System.Reactive.
  Interfaces.xml" to "bin\System.Reactive.Interfaces.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-Linq.2.1.30214.0\lib\Net45\System.Reactive.Linq.x
  ml" to "bin\System.Reactive.Linq.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Rx-PlatformServices.2.1.30214.0\lib\Net45\System.Rea
  ctive.PlatformServices.xml" to "bin\System.Reactive.PlatformServices.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .Helpers.xml" to "bin\System.Web.Helpers.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.Core.4.0.30506.0\lib\net40\S
  ystem.Web.Http.xml" to "bin\System.Web.Http.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebApi.WebHost.4.0.30506.0\lib\net4
  0\System.Web.Http.WebHost.xml" to "bin\System.Web.Http.WebHost.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.Razor.3.0.0\lib\net45\System.Web.Ra
  zor.xml" to "bin\System.Web.Razor.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .WebPages.xml" to "bin\System.Web.WebPages.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .WebPages.Deployment.xml" to "bin\System.Web.WebPages.Deployment.xml".
  Copying file from "Y:\Code\Projects\BFg\Klondike\source\packages\Microsoft.AspNet.WebPages.3.0.0\lib\net45\System.Web
  .WebPages.Razor.xml" to "bin\System.Web.WebPages.Razor.xml".
_CopyAppConfigFile:
  Copying file from "obj\Debug\Klondike.csproj.App.config" to bin\Klondike.dll.config".
CopyFilesToOutputDirectory:
  Copying file from "obj\Debug\Klondike.dll" to "bin\Klondike.dll".
  Klondike -> Y:\Code\Projects\BFg\Klondike\source\Klondike\bin\Klondike.dll
  Copying file from "obj\Debug\Klondike.pdb" to "bin\Klondike.pdb".
Done Building Project "Y:\Code\Projects\BFg\Klondike\source\Klondike\Klondike.csproj" (default targets).

Done Building Project "Y:\Code\Projects\BFg\Klondike\source\Klondike.sln" (default targets).


Build succeeded.

"Y:\Code\Projects\BFg\Klondike\source\Klondike.sln" (default target) (1) ->
"Y:\Code\Projects\BFg\Klondike\source\Klondike\Klondike.csproj" (default target) (2) ->
(ResolveAssemblyReferences target) ->
  C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [Y:\Code\Projects\BFg\Klondike\source\Klondike\Klondi
ke.csproj]

    1 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.92

self-host / mono: cannot push package

Client error:

Failed to process request. 'Unsupported Media Type'.
The remote server returned an error: (415) Unsupported Media Type..

Server error:

2014/09/13 17:02:53:058 [ERROR] NuGet.Lucene.Web.UnhandledExceptionLogger - Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.
=======================================================(inner most exception)===
 (1) System.Web.Http.HttpResponseException
================================================================================
Thread ID : 6

Message:
"Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details."

Properties:
  HttpResponseException.Response = "StatusCode: 415, ReasonPhrase: 'Unsupported Media Type', Version: 1.1, Content: <null>, Headers:
{
}"

Stack Trace:
  at NuGet.Lucene.Web.Formatters.MultipartFormDataMediaFormatter`1+<ReadFromStreamAsync>d__1[NuGet.IPackage].MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Net.Http.HttpContentExtensions+<ReadAsAsyncCore>d__0`1[System.Object].MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.ModelBinding.FormatterParameterBinding+<ExecuteBindingAsyncCore>d__0.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Controllers.HttpActionBinding+<ExecuteBindingAsyncCore>d__0.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Controllers.ActionFilterResult+<ExecuteAsync>d__2.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Filters.AuthorizationFilterAttribute+<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Controllers.ExceptionFilterResult+<ExecuteAsync>d__0.MoveNext () [0x00000] in <filename unknown>:0
================================================================================

2014/09/13 17:02:53:062 [ERROR] NuGet.Lucene.Web.UnhandledExceptionLogger - Unhandled exception: System.Web.Http.HttpResponseException: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.
=======================================================(inner most exception)===
 (1) System.Web.Http.HttpResponseException
================================================================================
Thread ID : 6

Message:
"Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details."

Properties:
  HttpResponseException.Response = "StatusCode: 415, ReasonPhrase: 'Unsupported Media Type', Version: 1.1, Content: <null>, Headers:
{
}"

Stack Trace:
  at NuGet.Lucene.Web.Formatters.MultipartFormDataMediaFormatter`1+<ReadFromStreamAsync>d__1[NuGet.IPackage].MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Net.Http.HttpContentExtensions+<ReadAsAsyncCore>d__0`1[System.Object].MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.ModelBinding.FormatterParameterBinding+<ExecuteBindingAsyncCore>d__0.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Controllers.HttpActionBinding+<ExecuteBindingAsyncCore>d__0.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Controllers.ActionFilterResult+<ExecuteAsync>d__2.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Filters.AuthorizationFilterAttribute+<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <filename unknown>:0
  at System.Web.Http.Controllers.ExceptionFilterResult+<ExecuteAsync>d__0.MoveNext () [0x00000] in <filename unknown>:0
================================================================================

can't access write.lock

Hey there
I installed Klondike, adjusted web.config, opened web page which caused index to be built(log contain no errors). I put the log directory outside of web-app folder, as suggested in setting description. After that when I access http://localhost/Klondike-Release-1.6.2/ I see web-interface, when I click on Packaged link I get 500, when I click on API link I get exception saying that write.lock file is used by another process. I refreshed many times, sometimes API page loads correctly, my impression is that it's 80/20 split on errors side.
I use version Version 1.6.2 (f76e0ed), packages count is around 2100.
Any help will be greatly appreciated.
Regards

How to setup this project(or WebSites)??

I try to setup the project using vs 2010 by "New WebSites"->"File System",and build the project. I can browse the WebSite,but the WebSite don't work when I add some nupkg files to ~/Packages?What Happened?

Rename account creates duplicate

When the username is modified on an existing account, the old account should be replaced with the new one. Ideally this should happen in a transaction on the server.

Account Management loads partial models

When entering app on #!/users, the route loads its model before the session is loaded, so roles and api keys are null on the list of users. When transitioning to edit a user this will result in missing data on the form.

Also happens when entering #!/users/edit/username.

handling vNext packages

vNext packages may contain some files in src and also include PDB symbols which causes Klondike to handle them as symbol packages. They should be handled as normal packages.

LocalAdministrator should be read only

When enabled, the LocalAdministrator account username and roles are not modifiable. Perhaps allowing users to modify the api key should still be allowed, but probably the LocalAdministrator account should not have an api key in the first place.

Unable to query odata for non-indexed fields

I am trying to use Klondike with Linqpad over the odata feed and just received an error when trying to filter on "Listed" field.

Here is the stacktrace from the server log:

2014-05-02 13:05:02,080 ERROR  256 UnhandledExceptionLogger System.Data.Services.IDataService.InternalHandleException System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Lucene.Net.Linq.Mapping.DocumentMapperBase`1.GetMappingInfo(String propertyName)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitLuceneQueryPredicateExpression(LuceneQueryPredicateExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.MakeBooleanQuery(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Lucene.Net.Linq.Translation.QueryModelTranslator.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
at Lucene.Net.Linq.Translation.QueryModelTranslator.Build(QueryModel queryModel)
at Lucene.Net.Linq.LuceneQueryExecutorBase`1.PrepareQuery(QueryModel queryModel)
at Lucene.Net.Linq.LuceneQueryExecutorBase`1.<ExecuteCollection>d__3`1.MoveNext()
at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)
at System.Data.Services.DataService`1.HandleRequest()

I suppose only a subset of all the fields are available for querying over odata feed. Perhaps at least the exception could be more clear ?

Missing Packages

We are using Klondike and upgraded to 1.3.3.

However we are still seeing situations where files are missing.

On 1 build, there were 506 packages created. Only 477 were found by the folder watcher.

The next day i ran a force index & the others were then added to the index (however they don't seem to appear in the log when i did this)

There doesn't appear to be any pattern to the packages that were missed by the folder watcher.

I've taken a copy of the files on disk & the index logs and happy to email them to you. - don't really want to publish here as they are internal packages.

Klondike 1.3.3 - Change in URL path; no /odata required

Previous versions of Klondike required using the URL below from within Visual Studio--

http://hostname:81/api/odata

However, the latest Klondike 1.3.3 recommends the new URL --

http://hostname:81/api/

I'm wondering exactly what the significance of this change is. Both URLs variations still work within VS Package Manager and our Octopus deploy server. However, the Nuget Package Explorer fails to find packages at the new URL with error 404 (it's still necessary to use the /odata path).

TIA

Filter mirrored packages

The package list and search should allow the user to view only mirrored or local packages. The package details should indicate if a package was mirrored and its origin URL.

Disabled allowAnonymousPackageChanges in web.config, but cannot login with username/Api Key.

Klondike version 1.4.1-1.5.2

I recently set "NuGet.Lucene.Web:allowAnonymousPackageChanges" in web.config to False, but I cannot sign in from the Klondike login page as expected.

I've tried using the built-in user accounts (LocalAdministrator, AnonymousPackageManager) with API Key as the password, but get the message "Authentication failed." Note I've already run the "nuget setApiKey" command for both users. I've also tried creating a new user account and it fails as well.

What am I missing here?

Thanks in advance.

Issue pushing packages to Klondike using Nuget 2.8

When I push my package using Nuget 2.8, I get:

Pushing Protean.Net 1.7.2.0 to 'http://klondike:81/api'...
Failed to process request. 'Temporary Redirect'.
This request requires buffering data to succeed..

This works absolutely fine in Nuget 2.7.

I am using Klondike 1.4.0.

When I push to a standard Nuget repository, the push succeeds.

The request limit for the database is 180 and has been reached.

We've been using Klondike for over a year now with no hickups. So first off, thank you!

Today we started seeing an error pretty consistently. The only thing that has changed is we upgraded our Octopus server to v.2.x from 1.6 over the weekend. This is the only consumer of the repository. I'm not sure if this version makes more calls to Klondike but we keep getting the following exception from Klondike:

Resource ID : 1. The request limit for the database is 180 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.

2014-04-02 09:19:18,490 ERROR 13 UnhandledExceptionLogger HandleException System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code /><m:message xml:lang="en-US">An error occurred while processing this request.</m:message><m:innererror><m:message>An error occurred while executing the command definition. See the inner exception for details.</m:message><m:type>System.Data.EntityCommandExecutionException</m:type><m:stacktrace> at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)&#xD; at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)&#xD; at System.Data.Objects.ObjectQuery1.GetResults(Nullable1 forMergeOption)&#xD; at System.Data.Objects.ObjectQuery1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
at System.Data.Entity.Infrastructure.DbQuery1.System.Collections.IEnumerable.GetEnumerator()&#xD; at QueryInterceptor.QueryTranslator1.System.Collections.IEnumerable.GetEnumerator()
at System.Data.Services.WebUtil.GetRequestEnumerator(IEnumerable enumerable)
at System.Data.Services.QueryResultInfo.MoveNext()
at System.Data.Services.DataService1.SerializeResponseBody(RequestDescription description, IDataService dataService, IODataResponseMessage responseMessage)&#xD; at System.Data.Services.DataService1.HandleRequest()</m:stacktrace><m:internalexception><m:message>Resource ID : 1. The request limit for the database is 180 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.</m:message><m:type>System.Data.SqlClient.SqlException</m:type><m:stacktrace> at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)&#xD; at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xD; at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)&#xD; at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()&#xD; at System.Data.SqlClient.SqlDataReader.get_MetaData()&#xD; at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)&#xD; at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp; task, Boolean asyncWrite)&#xD; at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at Glimpse.Ado.AlternateType.GlimpseDbCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)</m:stacktrace></m:internalexception></m:innererror></m:error>
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
--- End of inner exception stack trace ---
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery1.Execute() at System.Data.Services.Client.DataServiceQuery1.ExecuteInternal()
at System.Data.Services.Client.DataServiceQuery.Execute()
at NuGet.DataServiceQueryWrapper1.Execute[TResult](Func1 action)
--- End of inner exception stack trace ---
at NuGet.DataServiceQueryWrapper1.Execute[TResult](Func1 action)
at NuGet.DataServiceQueryWrapper1.<GetAll>d__7.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at NuGet.PackageRepositoryExtensions.FindPackagesById(IPackageRepository repository, String packageId)
at NuGet.Lucene.Web.Models.MirroringPackageRepository.FindPackagesByIdInOrigin(String id)
at NuGet.Lucene.Web.Models.MirroringPackageRepository.FindPackagesById(String id)
at NuGet.Lucene.Web.DataServices.PackageDataService.FindPackagesById(String id)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation(ServiceOperation serviceOperation, Object[] parameters)
at System.Data.Services.RequestUriProcessor.CreateFirstSegment(IDataService service, String identifier, Boolean checkRights, String queryPortion, Boolean isLastSegment, Boolean& crossReferencingUrl)
at System.Data.Services.RequestUriProcessor.CreateSegments(String[] segments, IDataService service)
at System.Data.Services.RequestUriProcessor.ProcessRequestUri(Uri absoluteRequestUri, IDataService service)
at System.Data.Services.DataService1.ProcessIncomingRequestUri() at System.Data.Services.DataService1.HandleRequest()`

Package Detail view does not load directly

Force reloading or bookmarking details of a package (e.g. /#/packages/NuGet.Core/2.7.2) fails to load data and as a result the view fails to render, giving a blank screen instead.

Attempt to edit user should force authentication

When transitioning to the edit user route, the user should be directed to log in if they have not already done so. If the user is not allowed to edit users, they should be redirected to an error page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.