Skip to content
Permalink
Browse files

Update Nuget and dependencies

  • Loading branch information...
Luke Arentz
Luke Arentz committed Mar 17, 2019
1 parent 1590244 commit b33a6556da0cdfce370b90fffc578d61e2c12a8e
@@ -0,0 +1 @@
* text=auto
@@ -9,11 +9,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Svenkle.NuGetServer.Service", "src\Svenkle.NuGetServer.Service\Svenkle.NuGetServer.Service.csproj", "{849C4739-2DC5-4112-97B0-23907F39A44E}"
ProjectSection(ProjectDependencies) = postProject
{4DBC0822-4CF2-41E3-A3E1-D87C64856985} = {4DBC0822-4CF2-41E3-A3E1-D87C64856985}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Svenkle.NuGetServer.Website", "src\Svenkle.NuGetServer.Website\Svenkle.NuGetServer.Website.csproj", "{4DBC0822-4CF2-41E3-A3E1-D87C64856985}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Svenkle.NuGetServer.Website", "src\Svenkle.NuGetServer.Website\Svenkle.NuGetServer.Website.csproj", "{C4157CB8-9CF6-4956-9570-743EF65337D7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -25,10 +22,10 @@ Global
{849C4739-2DC5-4112-97B0-23907F39A44E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{849C4739-2DC5-4112-97B0-23907F39A44E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{849C4739-2DC5-4112-97B0-23907F39A44E}.Release|Any CPU.Build.0 = Release|Any CPU
{4DBC0822-4CF2-41E3-A3E1-D87C64856985}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4DBC0822-4CF2-41E3-A3E1-D87C64856985}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DBC0822-4CF2-41E3-A3E1-D87C64856985}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DBC0822-4CF2-41E3-A3E1-D87C64856985}.Release|Any CPU.Build.0 = Release|Any CPU
{C4157CB8-9CF6-4956-9570-743EF65337D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C4157CB8-9CF6-4956-9570-743EF65337D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C4157CB8-9CF6-4956-9570-743EF65337D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C4157CB8-9CF6-4956-9570-743EF65337D7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -2,8 +2,8 @@
NuGet Server is essentially a self-hosted wrapper of the [NuGet.Server](https://www.nuget.org/packages/NuGet.Server) package. NuGet Server is distributed with its own IIS Express instance and as such does not require a webserver to be installed on the machine.

## Requirements
* .NET 4.6 or higher
* Windows Server 2012, Windows Server 2016, Windows 7, Windows 8, Windows 8.1 or Windows 10
* .NET 4.6.1 or higher
* Windows Server 2012, Windows Server 2016, Windows Server 2019, Windows 7, Windows 8, Windows 8.1 or Windows 10

## Getting Started
### Install as a Windows Service

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
</configuration>
</configuration>

This file was deleted.

Oops, something went wrong.
@@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NuGet Server")]
[assembly: AssemblyCopyright("Copyright © Svenkle 2017")]
[assembly: AssemblyCopyright("Copyright © Svenkle 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

@@ -8,9 +8,10 @@
<OutputType>Exe</OutputType>
<RootNamespace>Svenkle.NuGetServer.Service</RootNamespace>
<AssemblyName>Svenkle.NuGetServer.Service</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -39,15 +40,8 @@
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.ServiceProcess" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Exception.cs" />
<Compile Include="Program.cs">
<SubType>Component</SubType>
</Compile>
@@ -1,7 +1,9 @@
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.ExceptionHandling;
using System.Web.Http.Routing;
using NuGet.Server;
using NuGet.Server.Infrastructure;
using NuGet.Server.V2;

[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(Svenkle.NuGetServer.Website.App_Start.NuGetODataConfig), "Start")]
@@ -18,6 +20,11 @@ public static void Start()

NuGetV2WebApiEnabler.UseNuGetV2WebApiFeed(config, "NuGetDefault", "nuget", "PackagesOData");

config.Services.Replace(typeof(IExceptionLogger), new TraceExceptionLogger());

// Trace.Listeners.Add(new TextWriterTraceListener(HostingEnvironment.MapPath("~/NuGet.Server.log")));
// Trace.AutoFlush = true;

config.Routes.MapHttpRoute(
name: "NuGetDefault_ClearCache",
routeTemplate: "nuget/clear-cache",
@@ -34,7 +34,7 @@
<% } %>
</fieldset>

<% if (Request.IsLocal) { %>
<% if (Request.IsLocal || ServiceResolver.Current.Resolve<NuGet.Server.Core.Infrastructure.ISettingsProvider>().GetBoolSetting("allowRemoteCacheManagement", false)) { %>
<fieldset style="width:800px">
<legend><strong>Adding packages</strong></legend>

@@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NuGet Server")]
[assembly: AssemblyCopyright("Copyright © Svenkle 2017")]
[assembly: AssemblyCopyright("Copyright © Svenkle 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

@@ -31,3 +31,4 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.0.*")]

Oops, something went wrong.

0 comments on commit b33a655

Please sign in to comment.
You can’t perform that action at this time.