chriseldredge / Klondike

Ember front-end that builds on NuGet.Lucene for private package hosting
Apache License 2.0
299 stars 73 forks source link

Disabling package overwrite. #53

Closed calvinv closed 9 years ago

calvinv commented 10 years ago

The nuget server 2.8 has a setting in its web.config called "allowOverrideExistingPackageOnPush" under appsettings which prevents overwriting of already existing packages (obviously :) ) Does Klondike have the same feature, I can't find anything like it under the web.config.

Not sure where else to post this

chriseldredge commented 10 years ago

Not currently. The current behavior is that packages with duplicate ID / Version replace an existing package but preserve the download count metadata.

It shouldn't be too difficult to include this setting if it would be useful.

calvinv commented 10 years ago

We were planning on forking it and adding it ourselves but if you added it that would be great. Think you will?

chriseldredge commented 10 years ago

I can add it but no promises on when :). The changes will actually go in https://github.com/themotleyfool/NuGet.Lucene so you should fork that repo if you want to take a stab at it.

chriseldredge commented 10 years ago

I would probably implement this change in LucenePackageRepository

calvinv commented 10 years ago

Thanks for pointing me in the right direction. Will give it a shot

calvinv commented 10 years ago

Hey, I see you've made this change in Nuget.Lucene however when I try get a new build by referencing nuget.lucene artifacts from a new clone I built locally I get compiler errors. It seems you've updated Nuget.Lucene to use Microsoft.AspNet.WebApi.* v5.2.2 while Klondike is still referencing v5.1.1.

chriseldredge commented 10 years ago

I'm working on a few remaining bugs/features before making a new binary release of Klondike.

You could try installing NuGet.Lucene.Web from the AppVeyor NuGet feed: https://ci.appveyor.com/nuget/nuget-lucene-gsxts1jkyeml

Despite mismatched dependency versions, do you get compile errors or only warnings about the mismatch? I'm wondering if updating the AspNet.WebApi dependencies to match, and adding any necessary binding redirects to Web.config would help.

Also please note the dev branch of Klondike is not on master but on the self-host branch.

chriseldredge commented 9 years ago

Klondike has an example setting with comments in Settings.config, commit 15063d5eff60ebe738d72dfa75497105e4b6f748. This has not been released but is available in AppVeyor builds and on master.

calvinv commented 9 years ago

Sorry for the late response, for interests sake I rebuilt latest klondike master and Nuget.Lucene master then updated the Klondike.csproj with the new dlls from nuget.lucene. I've attached the csproj with the updated references as well as my grunt build log. I've trimmed as much of it as I could just showing the updated references and the msbuild part of the log. The Version number in the xml are arbitrary as the dlls I'm pointing to are from my Nuget.Lucene clone. I'm either going to wait it out for the next release or try adding the code onto a personal fork at the last release revision. Thanks for the help, here's the attachments.

Klondike.csproj

<Reference Include="Common.Logging, Version=2.1.2.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Common.Logging.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNet.SignalR.Client, Version=2.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Microsoft.AspNet.SignalR.Core.dll</HintPath>
</Reference>
<Reference Include="NuGet.Core, Version=2.8.50126.400, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\NuGet.Core.dll</HintPath>
</Reference>
<Reference Include="NuGet.Lucene, Version=2.9.4.47, Culture=neutral, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\NuGet.Lucene.dll</HintPath>
</Reference>
<Reference Include="NuGet.Lucene.Web, Version=2.9.4.47, Culture=neutral, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\NuGet.Lucene.Web.dll</HintPath>
</Reference>
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Owin.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Formatting, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Web.Http.dll</HintPath>
</Reference>

Msbuild part of grunt build log Microsoft (R) Build Engine version 12.0.21005.1 [Microsoft .NET Framework, version 4.0.30319.34003] Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2015-02-05 10:11:50 AM. Project "C:\git\Klondike\Ciao.proj" on node 1 (default targets). RestoreSolutionPackages: "C:\git\Klondike\build\tools\NuGet.exe" restore "Klondike.sln" -NonInteractive -Source http://www.nuget.org/api/v2/ All packages listed in packages.config are already installed. All packages listed in packages.config are already installed. Project "C:\git\Klondike\Ciao.proj" (1) is building "C:\git\Klondike\packages\Ciao.1.0.2\tools\Ciao.proj" (2) on node 1 (default targets). GenerateVersionInfoCore: PackageVersion: 1.6.2 AssemblyVersion: 1.6.2.0 AssemblyInformationalVersion: 1.6.2-build0 1.6.2 (a6670e8-dirty) Assembly Version attributes written to C:\git\Klondike\build\VersionInfo.cs Project "C:\git\Klondike\packages\Ciao.1.0.2\tools\Ciao.proj" (2) is building "C:\git\Klondike\Klondike.sln" (3) on node 1 (Build target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Any CPU". Project "C:\git\Klondike\Klondike.sln" (3) is building "C:\git\Klondike\app\Klondike.csproj" (4) on node 1 (default targets). C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3243: No way to resolve conflict between "Microsoft.AspNet.SignalR.Core, Version=2.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.AspNet.SignalR.Core, Version=2.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "Microsoft.AspNet.SignalR.Core, Version=2.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. [C:\git\Klondike\app\Klondike.csproj] No way to resolve conflict between "System.Web.Http, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "System.Web.Http, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "System.Web.Http, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. No way to resolve conflict between "System.Net.Http.Formatting, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "System.Net.Http.Formatting, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "System.Net.Http.Formatting, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. No way to resolve conflict between "Microsoft.Data.Edm, Version=5.6.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.Data.Edm, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "Microsoft.Data.Edm, Version=5.6.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. No way to resolve conflict between "Microsoft.Data.OData, Version=5.6.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "Microsoft.Data.OData, Version=5.6.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. No way to resolve conflict between "System.Spatial, Version=5.6.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "System.Spatial, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "System.Spatial, Version=5.6.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. No way to resolve conflict between "System.Web.Http.Owin, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "System.Web.Http.Owin, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "System.Web.Http.Owin, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. Consider app.config remapping of assembly "Microsoft.AspNet.SignalR.Core, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "2.0.2.0" [C:\git\Klondike\packages\Microsoft.AspNet.SignalR.Core.2.0.2\lib\net45\Microsoft.AspNet.SignalR.Core.dll] to Version "2.1.2.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Microsoft.AspNet.SignalR.Core.dll] to solve conflict and get rid of warning. Consider app.config remapping of assembly "System.Web.Http, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.2.0.0" [] to Version "5.2.2.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Web.Http.dll] to solve conflict and get rid of warning. Consider app.config remapping of assembly "System.Net.Http.Formatting, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.2.0.0" [] to Version "5.2.2.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Net.Http.Formatting.dll] to solve conflict and get rid of warning. Consider app.config remapping of assembly "Microsoft.Data.OData, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [C:\Program Files (x86)\Microsoft WCF Data Services\5.6\bin.NETFramework\Microsoft.Data.OData.dll] to Version "5.6.3.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Microsoft.Data.OData.dll] to solve conflict and get rid of warning. Consider app.config remapping of assembly "Microsoft.Data.Edm, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [C:\Program Files (x86)\Microsoft WCF Data Services\5.6\bin.NETFramework\Microsoft.Data.Edm.dll] to Version "5.6.3.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Microsoft.Data.Edm.dll] to solve conflict and get rid of warning. Consider app.config remapping of assembly "System.Web.Http.Owin, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.2.0.0" [] to Version "5.2.2.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Web.Http.Owin.dll] to solve conflict and get rid of warning. Consider app.config remapping of assembly "Common.Logging, Culture=neutral, PublicKeyToken=af08829b84f0328e" from Version "2.1.2.0" [] to Version "2.3.1.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Common.Logging.dll] to solve conflict and get rid of warning. Consider app.config remapping of assembly "System.Spatial, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [C:\Program Files (x86)\Microsoft WCF Data Services\5.6\bin.NETFramework\System.Spatial.dll] to Version "5.6.3.0" [C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Spatial.dll] to solve conflict and get rid of warning. C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: [C:\git\Klondike\app\Klondike.csproj] 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. [C:\git\Klondike\app\Klondike.csproj] GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /doc:bin\Klondike.xml /define:TRACE /highentropyva+ /reference:C:\git\Klondike\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll /reference:C:\git\Klondike\packages\AspNet.WebApi.HtmlMicrodataFormatter.2.3.0\lib\net40\AspNet.WebApi.HtmlMicrodataFormatter.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Autofac.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Common.Logging.dll /reference:C:\git\Klondike\packages\Common.Logging.Log4Net1211.2.1.2\lib\net40\Common.Logging.Log4Net1211.dll /reference:C:\git\Klondike\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll /reference:C:\git\Klondike\packages\log4net.2.0.3\lib\net40-full\log4net.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene\bin\Debug40\Lucene.Net.dll /reference:C:\git\Klondike\app\bin\Lucene.Net.Linq.dll /reference:C:\git\Klondike\packages\Microsoft.AspNet.SignalR.Core.2.0.2\lib\net45\Microsoft.AspNet.SignalR.Core.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Microsoft.AspNet.SignalR.Core.dll /reference:C:\git\Klondike\packages\Microsoft.AspNet.SignalR.SystemWeb.2.0.2\lib\net45\Microsoft.AspNet.SignalR.SystemWeb.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\Microsoft.CSharp.dll" /reference:C:\git\Klondike\packages\Microsoft.Owin.Cors.2.1.0\lib\net45\Microsoft.Owin.Cors.dll /reference:C:\git\Klondike\packages\Microsoft.Owin.2.1.0\lib\net45\Microsoft.Owin.dll /reference:C:\git\Klondike\packages\Microsoft.Owin.Host.SystemWeb.2.1.0\lib\net45\Microsoft.Owin.Host.SystemWeb.dll /reference:C:\git\Klondike\packages\Microsoft.Owin.Security.2.1.0\lib\net45\Microsoft.Owin.Security.dll /reference:C:\git\Klondike\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll /reference:C:\git\Klondike\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" /reference:C:\git\Klondike\packages\Newtonsoft.Json.6.0.1\lib\net45\Newtonsoft.Json.dll /reference:C:\git\Klondike\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.dll /reference:C:\git\Klondike\packages\Ninject.Extensions.Wcf.3.0.0.5\lib\net45-full\Ninject.Extensions.Wcf.dll /reference:C:\git\Klondike\packages\Ninject.Web.Common.3.0.0.7\lib\net45-full\Ninject.Web.Common.dll /reference:C:\git\Klondike\packages\Ninject.Web.WebApi-RC.3.0.0.22\lib\net45-full\Ninject.Web.WebApi.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\NuGet.Core.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\NuGet.Lucene.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\NuGet.Lucene.Web.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\Owin.dll /reference:C:\git\Klondike\packages\Remotion.Linq.1.15.9.0\lib\net45\Remotion.Linq.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.ComponentModel.Composition.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Configuration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\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)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.EnterpriseServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Net.Http.dll" /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Net.Http.Formatting.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Net.Http.WebRequest.dll" /reference:C:\git\Klondike\packages\Rx-Core.2.2.2\lib\net45\System.Reactive.Core.dll /reference:C:\git\Klondike\packages\Rx-Interfaces.2.2.2\lib\net45\System.Reactive.Interfaces.dll /reference:C:\git\Klondike\packages\Rx-Linq.2.2.2\lib\net45\System.Reactive.Linq.dll /reference:C:\git\Klondike\packages\Rx-PlatformServices.2.2.3\lib\net45\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\Microsoft\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)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.ServiceModel.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Web.ApplicationServices.dll" /reference:C:\git\Klondike\packages\Microsoft.AspNet.Cors.5.1.1\lib\net45\System.Web.Cors.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Web.dll" /reference:"C:\Program 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" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Web.Extensions.dll" /reference:C:\git\Klondike\packages\Microsoft.AspNet.WebPages.3.1.1\lib\net45\System.Web.Helpers.dll /reference:C:\git\NuGet.Lucene\source\NuGet.Lucene.Web\bin\Debug\System.Web.Http.dll /reference:C:\git\Klondike\packages\Microsoft.AspNet.WebApi.WebHost.5.1.1\lib\net45\System.Web.Http.WebHost.dll /reference:C:\git\Klondike\packages\Microsoft.AspNet.Razor.3.1.1\lib\net45\System.Web.Razor.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Web.Services.dll" /reference:C:\git\Klondike\packages\Microsoft.AspNet.WebPages.3.1.1\lib\net45\System.Web.WebPages.Deployment.dll /reference:C:\git\Klondike\packages\Microsoft.AspNet.WebPages.3.1.1\lib\net45\System.Web.WebPages.dll /reference:C:\git\Klondike\packages\Microsoft.AspNet.WebPages.3.1.1\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 Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\System.Xml.Linq.dll" /reference:C:\git\Klondike\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll /debug:pdbonly /optimize+ /out:obj\Release\Klondike.dll /subsystemversion:6.00 /target:library /utf8output ..\build\VersionInfo.cs App_Start\NinjectWebCommon.cs Global.asax.cs KlondikeHtmlMicrodataFormatter.cs Properties\AssemblyInfo.cs MetaController.cs "C:\Users\calvinv\AppData\Local\Temp.NETFramework,Version=v4.5.1.AssemblyAttributes.cs" App_Start\NinjectWebCommon.cs(16,25): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.App_Start.NinjectWebCommon' [C:\git\Klondike\app\Klondike.csproj] App_Start\NinjectWebCommon.cs(46,74): error CS0246: The type or namespace name 'SignalRModule' could not be found (are you missing a using directive or an assembly reference?) [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(21,18): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.Global' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(28,28): error CS1502: The best overloaded method match for 'NuGet.Lucene.Web.UnhandledExceptionLogger.LogException(System.Exception, System.Action)' has some invalid arguments [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(29,21): error CS1503: Argument 2: cannot convert from 'string' to 'System.Action' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(37,25): error CS1061: 'NuGet.Lucene.Web.NuGetWebApiRouteMapper' does not contain a definition for 'MapDataServiceRoutes' and no extension method 'MapDataServiceRoutes' accepting a first argument of type 'NuGet.Lucene.Web.NuGetWebApiRouteMapper' could be found (are you missing a using directive or an assembly reference?) [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(46,74): error CS0117: 'NuGet.Lucene.Web.RouteNames' does not contain a definition for 'PackageFeedRouteValues' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(46,100): error CS0117: 'NuGet.Lucene.Web.RedirectHandler' does not contain a definition for 'AppendTrailingSlash' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(54,65): error CS0117: 'NuGet.Lucene.Web.NuGetWebApiModule' does not contain a definition for 'ShowExceptionDetails' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(58,88): error CS0117: 'NuGet.Lucene.Web.NuGetWebApiModule' does not contain a definition for 'EnableCrossDomainRequests' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(67,35): error CS1729: 'NuGet.Lucene.Web.Formatters.PackageFormDataMediaFormatter' does not contain a constructor that takes 0 arguments [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(23,46): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.Global.RouteMapper' [C:\git\Klondike\app\Klondike.csproj] KlondikeHtmlMicrodataFormatter.cs(13,18): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.KlondikeHtmlMicrodataFormatter' [C:\git\Klondike\app\Klondike.csproj] Done Building Project "C:\git\Klondike\app\Klondike.csproj" (default targets) -- FAILED. Done Building Project "C:\git\Klondike\Klondike.sln" (Build target(s)) -- FAILED. Done Building Project "C:\git\Klondike\packages\Ciao.1.0.2\tools\Ciao.proj" (default targets) -- FAILED. Done Building Project "C:\git\Klondike\Ciao.proj" (default targets) -- FAILED.

Build FAILED.

"C:\git\Klondike\Ciao.proj" (default target) (1) -> "C:\git\Klondike\packages\Ciao.1.0.2\tools\Ciao.proj" (default target) (2) -> "C:\git\Klondike\Klondike.sln" (Build target) (3) -> "C:\git\Klondike\app\Klondike.csproj" (default target) (4) -> (ResolveAssemblyReferences target) -> C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3243: No way to resolve conflict between "Microsoft.AspNet.SignalR.Core, Version=2.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.AspNet.SignalR.Core, Version=2.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "Microsoft.AspNet.SignalR.Core, Version=2.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily. [C:\git\Klondike\app\Klondike.csproj] C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: [C:\git\Klondike\app\Klondike.csproj] 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. [C:\git\Klondike\app\Klondike.csproj]

"C:\git\Klondike\Ciao.proj" (default target) (1) -> "C:\git\Klondike\packages\Ciao.1.0.2\tools\Ciao.proj" (default target) (2) -> "C:\git\Klondike\Klondike.sln" (Build target) (3) -> "C:\git\Klondike\app\Klondike.csproj" (default target) (4) -> (CoreCompile target) -> App_Start\NinjectWebCommon.cs(16,25): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.App_Start.NinjectWebCommon' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(21,18): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.Global' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(23,46): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.Global.RouteMapper' [C:\git\Klondike\app\Klondike.csproj] KlondikeHtmlMicrodataFormatter.cs(13,18): warning CS1591: Missing XML comment for publicly visible type or member 'Klondike.KlondikeHtmlMicrodataFormatter' [C:\git\Klondike\app\Klondike.csproj]

"C:\git\Klondike\Ciao.proj" (default target) (1) -> "C:\git\Klondike\packages\Ciao.1.0.2\tools\Ciao.proj" (default target) (2) -> "C:\git\Klondike\Klondike.sln" (Build target) (3) -> "C:\git\Klondike\app\Klondike.csproj" (default target) (4) -> (CoreCompile target) -> App_Start\NinjectWebCommon.cs(46,74): error CS0246: The type or namespace name 'SignalRModule' could not be found (are you missing a using directive or an assembly reference?) [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(28,28): error CS1502: The best overloaded method match for 'NuGet.Lucene.Web.UnhandledExceptionLogger.LogException(System.Exception, System.Action)' has some invalid arguments [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(29,21): error CS1503: Argument 2: cannot convert from 'string' to 'System.Action' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(37,25): error CS1061: 'NuGet.Lucene.Web.NuGetWebApiRouteMapper' does not contain a definition for 'MapDataServiceRoutes' and no extension method 'MapDataServiceRoutes' accepting a first argument of type 'NuGet.Lucene.Web.NuGetWebApiRouteMapper' could be found (are you missing a using directive or an assembly reference?) [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(46,74): error CS0117: 'NuGet.Lucene.Web.RouteNames' does not contain a definition for 'PackageFeedRouteValues' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(46,100): error CS0117: 'NuGet.Lucene.Web.RedirectHandler' does not contain a definition for 'AppendTrailingSlash' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(54,65): error CS0117: 'NuGet.Lucene.Web.NuGetWebApiModule' does not contain a definition for 'ShowExceptionDetails' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(58,88): error CS0117: 'NuGet.Lucene.Web.NuGetWebApiModule' does not contain a definition for 'EnableCrossDomainRequests' [C:\git\Klondike\app\Klondike.csproj] Global.asax.cs(67,35): error CS1729: 'NuGet.Lucene.Web.Formatters.PackageFormDataMediaFormatter' does not contain a constructor that takes 0 arguments [C:\git\Klondike\app\Klondike.csproj]

7 Warning(s)
9 Error(s)

Time Elapsed 00:00:01.56 [31m>> [39mExited with code: 1. [33mWarning: Task "exec:msbuild:dist" failed. Use --force to continue.[39m

[31mAborted due to warnings.[39m

chriseldredge commented 9 years ago

It sounds like you are not on latest commit on master on Klondike. Klondike has been migrated off of grunt and onto ember-cli. You should not need to modify any assembly paths or use local builds for NuGet.Lucene or NuGet.Lucene.Web in order to have the latest changes which support the packageOverrideMode setting.