Get rid of extra dependencies

This project shouldn't have any dependencies besides Razor.
This commit is contained in:
Ryan Nowak 2017-03-27 13:21:50 -07:00
parent bc9b9876e5
commit 8d1cc43f8e
2 changed files with 2 additions and 5 deletions

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Globalization;
using Microsoft.Extensions.Primitives;
using System.Text;
namespace Microsoft.AspNetCore.Mvc.Razor.Extensions.Internal
{
@ -50,7 +50,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions.Internal
inputName = "_" + inputName;
}
var builder = new InplaceStringBuilder(inputName.Length);
var builder = new StringBuilder(inputName.Length);
for (var i = 0; i < inputName.Length; i++)
{
var ch = inputName[i];

View File

@ -12,9 +12,6 @@
<ItemGroup>
<ProjectReference Include="../Microsoft.AspNetCore.Razor.Evolution/Microsoft.AspNetCore.Razor.Evolution.csproj" />
<PackageReference Include="Microsoft.Extensions.Primitives" Version="$(AspNetCoreVersion)" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Abstractions" Version="$(AspNetCoreVersion)" />
</ItemGroup>
</Project>