Skip to content

Commit

Permalink
Update to .NET 6
Browse files Browse the repository at this point in the history
Verified upload and display of uploaded VSIX manually
  • Loading branch information
ErikEJ committed Dec 12, 2022
1 parent f8110e1 commit 5d9bf3e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 19 deletions.
7 changes: 0 additions & 7 deletions src/Program.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

namespace VsixGallery
{
Expand Down
4 changes: 1 addition & 3 deletions src/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@

using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;

using System;
using System.IO;
using WebMarkupMin.AspNetCore2;
using WebMarkupMin.AspNetCore6;
using WebMarkupMin.Core;

namespace VsixGallery
Expand Down
18 changes: 9 additions & 9 deletions src/VsixGallery.csproj
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.ImageOptimizer" Version="1.1.0.39">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="LigerShark.WebOptimizer.Sass" Version="3.0.42-beta" />
<PackageReference Include="Markdig" Version="0.20.0" />
<PackageReference Include="LigerShark.WebOptimizer.Sass" Version="3.0.91" />
<PackageReference Include="Markdig" Version="0.30.4" />
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.2.0" />
<PackageReference Include="moment.net" Version="1.3.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="System.Drawing.Common" Version="4.7.0" />
<PackageReference Include="WebEssentials.AspNetCore.OutputCaching" Version="1.0.38" />
<PackageReference Include="moment.net" Version="1.3.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
<PackageReference Include="WebEssentials.AspNetCore.OutputCaching" Version="1.0.43" />
<PackageReference Include="WebEssentials.AspNetCore.StaticFilesWithCache" Version="1.0.3" />
<PackageReference Include="WebMarkupMin.AspNetCore2" Version="2.8.3" />
<PackageReference Include="WebMarkupMin.AspNetCore6" Version="2.13.4" />
</ItemGroup>

<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.17" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.11" />
</ItemGroup>

</Project>

0 comments on commit 5d9bf3e

Please sign in to comment.