Rename AspNet 5 file contents.

See https://github.com/aspnet/Announcements/issues/144 for more information.
This commit is contained in:
N. Taylor Mullen 2016-01-22 12:24:55 -08:00
Родитель ee1738db56
Коммит 4010676634
37 изменённых файлов: 99 добавлений и 99 удалений

Просмотреть файл

@ -6,7 +6,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{FB313677-BAB
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization", "src\Microsoft.Extensions.Localization\Microsoft.Extensions.Localization.xproj", "{29743CFF-120E-40EB-9B89-5818425946FA}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Localization", "src\Microsoft.AspNet.Localization\Microsoft.AspNet.Localization.xproj", "{23E3BC23-3464-4D9B-BF78-02CB2182BEF0}"
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Localization", "src\Microsoft.AspNetCore.Localization\Microsoft.AspNetCore.Localization.xproj", "{23E3BC23-3464-4D9B-BF78-02CB2182BEF0}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization.Abstractions", "src\Microsoft.Extensions.Localization.Abstractions\Microsoft.Extensions.Localization.Abstractions.xproj", "{A1FCF259-70F6-4605-AA2D-E4B356BE771A}"
EndProject
@ -25,11 +25,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{B723DB83-A
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization.Tests", "test\Microsoft.Extensions.Localization.Tests\Microsoft.Extensions.Localization.Tests.xproj", "{287AD58D-DF34-4F16-8616-FD78FA1CADF9}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Localization.Tests", "test\Microsoft.AspNet.Localization.Tests\Microsoft.AspNet.Localization.Tests.xproj", "{19A2A931-5C60-47A0-816A-0DC9C4CE5736}"
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Localization.Tests", "test\Microsoft.AspNetCore.Localization.Tests\Microsoft.AspNetCore.Localization.Tests.xproj", "{19A2A931-5C60-47A0-816A-0DC9C4CE5736}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "LocalizationWebsite", "test\LocalizationWebsite\LocalizationWebsite.xproj", "{EF6C7431-2FB8-4396-8947-F50F31689AF4}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Localization.FunctionalTests", "test\Microsoft.AspNet.Localization.FunctionalTests\Microsoft.AspNet.Localization.FunctionalTests.xproj", "{B1B441BA-3AC8-49F8-850D-E5A178E77DE2}"
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Localization.FunctionalTests", "test\Microsoft.AspNetCore.Localization.FunctionalTests\Microsoft.AspNetCore.Localization.FunctionalTests.xproj", "{B1B441BA-3AC8-49F8-850D-E5A178E77DE2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Просмотреть файл

@ -9,7 +9,7 @@
"StrictSemanticVersionValidationRule"
],
"packages": {
"Microsoft.AspNet.Localization": { },
"Microsoft.AspNetCore.Localization": { },
"Microsoft.Extensions.Globalization.CultureInfoCache": { },
"Microsoft.Extensions.Localization": { },
"Microsoft.Extensions.Localization.Abstractions": { }

Просмотреть файл

@ -7,7 +7,7 @@ Travis: [![Travis](https://travis-ci.org/aspnet/Localization.svg?branch=dev)](
| Package | aspnetvolatiledev | [aspnetcidev](https://myget.org/gallery/aspnetcidev) | [aspnetvnext](https://myget.org/gallery/aspnetvnext) | [NuGet](https://nuget.org) |
| ------- | ----------------------- | ----------------- | ----------------- | ----- |
| Microsoft.Extensions.Localization | [![MyGet](https://img.shields.io/myget/aspnetvolatiledev/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetvolatiledev/package/nuget/Microsoft.Extensions.Localization) | [![MyGet](https://img.shields.io/myget/aspnetcidev/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetcidev/package/nuget/Microsoft.Extensions.Localization) | [![MyGet](https://img.shields.io/myget/aspnetvnext/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetvnext/package/nuget/Microsoft.Extensions.Localization) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.Extensions.Localization.svg)](https://nuget.org/packages/Microsoft.Extensions.Localization) |
| Microsoft.AspNet.Localization | [![MyGet](https://img.shields.io/myget/aspnetvolatiledev/vpre/Microsoft.AspNet.Localization.svg)](https://www.myget.org/feed/aspnetvolatiledev/package/nuget/Microsoft.AspNet.Localization) | [![MyGet](https://img.shields.io/myget/aspnetcidev/vpre/Microsoft.AspNet.Localization.svg)](https://www.myget.org/feed/aspnetcidev/package/nuget/Microsoft.AspNet.Localization) | [![MyGet](https://img.shields.io/myget/aspnetvnext/vpre/Microsoft.AspNet.Localization.svg)](https://www.myget.org/feed/aspnetvnext/package/nuget/Microsoft.AspNet.Localization) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.AspNet.Localization.svg)](https://nuget.org/packages/Microsoft.AspNet.Localization) |
| Microsoft.AspNetCore.Localization | [![MyGet](https://img.shields.io/myget/aspnetvolatiledev/vpre/Microsoft.AspNetCore.Localization.svg)](https://www.myget.org/feed/aspnetvolatiledev/package/nuget/Microsoft.AspNetCore.Localization) | [![MyGet](https://img.shields.io/myget/aspnetcidev/vpre/Microsoft.AspNetCore.Localization.svg)](https://www.myget.org/feed/aspnetcidev/package/nuget/Microsoft.AspNetCore.Localization) | [![MyGet](https://img.shields.io/myget/aspnetvnext/vpre/Microsoft.AspNetCore.Localization.svg)](https://www.myget.org/feed/aspnetvnext/package/nuget/Microsoft.AspNetCore.Localization) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.AspNetCore.Localization.svg)](https://nuget.org/packages/Microsoft.AspNetCore.Localization) |
Localization abstractions and implementations for ASP.NET 5 applications.

Просмотреть файл

@ -4,10 +4,10 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Localization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;

Просмотреть файл

@ -1,3 +1,3 @@
{
"server": "Microsoft.AspNet.Server.Kestrel"
{
"server": "Microsoft.AspNetCore.Server.Kestrel"
}

Просмотреть файл

@ -2,10 +2,10 @@
"version": "1.0.0-*",
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Localization": "1.0.0-*",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
},
"compilationOptions": {

Просмотреть файл

@ -6,11 +6,11 @@ using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Determines the culture information for a request via the value of the Accept-Language header.

Просмотреть файл

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Localization;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.Options;
namespace Microsoft.AspNet.Builder
namespace Microsoft.AspNetCore.Builder
{
/// <summary>
/// Extension methods for adding the <see cref="RequestLocalizationMiddleware"/> to an application.

Просмотреть файл

@ -5,10 +5,10 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Determines the culture information for a request via the value of a cookie.

Просмотреть файл

@ -3,9 +3,9 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Determines the culture information for a request via the configured delegate.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Represents the feature that provides the current request's culture information.

Просмотреть файл

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Represents a provider for determining the culture information of an <see cref="HttpRequest"/>.

Просмотреть файл

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -8,7 +8,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>23e3bc23-3464-4d9b-bf78-02cb2182bef0</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Localization</RootNamespace>
<RootNamespace>Microsoft.AspNetCore.Localization</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup>

Просмотреть файл

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Details about the cultures obtained from <see cref="IRequestCultureProvider"/>.

Просмотреть файл

@ -3,10 +3,10 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Determines the culture information for a request via values in the query string.

Просмотреть файл

@ -4,7 +4,7 @@
using System;
using System.Globalization;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Details about the culture for an <see cref="Http.HttpRequest"/>.

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Provides the current request's culture information.

Просмотреть файл

@ -1,11 +1,11 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// An abstract base class provider for determining the culture information of an <see cref="HttpRequest"/>.

Просмотреть файл

@ -6,12 +6,12 @@ using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization;
using Microsoft.Extensions.Options;
namespace Microsoft.AspNet.Localization
namespace Microsoft.AspNetCore.Localization
{
/// <summary>
/// Enables automatic setting of the culture for <see cref="Http.HttpRequest"/>s based on information

Просмотреть файл

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.AspNet.Localization;
using Microsoft.AspNetCore.Localization;
namespace Microsoft.AspNet.Builder
namespace Microsoft.AspNetCore.Builder
{
/// <summary>
/// Specifies options for the <see cref="RequestLocalizationMiddleware"/>.

Просмотреть файл

@ -10,7 +10,7 @@
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
"Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",
"Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-*",
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*",
"Microsoft.Extensions.Options": "1.0.0-*"

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Hosting;
using Microsoft.AspNetCore.Hosting;
namespace LocalizationWebsite
{

Просмотреть файл

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Globalization;
using LocalizationWebsite.Models;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Localization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;

Просмотреть файл

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Globalization;
using LocalizationWebsite.Models;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Localization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;

Просмотреть файл

@ -1,3 +1,3 @@
{
"server": "Microsoft.AspNet.Server.Kestrel"
{
"server": "Microsoft.AspNetCore.Server.Kestrel"
}

Просмотреть файл

@ -1,4 +1,4 @@
{
{
"version": "1.0.0-*",
"compilationOptions": {
@ -7,8 +7,8 @@
},
"dependencies": {
"Microsoft.AspNet.Localization": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*"
},

Просмотреть файл

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNet.Server.Testing;
using Microsoft.AspNet.Testing.xunit;
using Microsoft.AspNetCore.Server.Testing;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit;
namespace Microsoft.AspNet.Localization.FunctionalTests
namespace Microsoft.AspNetCore.Localization.FunctionalTests
{
public class LocalizationTest
{

Просмотреть файл

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -7,7 +7,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>b1b441ba-3ac8-49f8-850d-e5a178e77de2</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Localization.FunctionalTests</RootNamespace>
<RootNamespace>Microsoft.AspNetCore.Localization.FunctionalTests</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup>

Просмотреть файл

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
@ -6,11 +6,11 @@ using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNet.Server.Testing;
using Microsoft.AspNetCore.Server.Testing;
using Microsoft.Extensions.Logging;
using Xunit;
namespace Microsoft.AspNet.Localization.FunctionalTests
namespace Microsoft.AspNetCore.Localization.FunctionalTests
{
public class TestRunner
{

Просмотреть файл

@ -6,7 +6,7 @@
"test": "xunit.runner.aspnet"
},
"dependencies": {
"Microsoft.AspNet.Server.Testing": "1.0.0-*",
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},

Просмотреть файл

@ -4,10 +4,10 @@
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Localization;
using Microsoft.AspNet.TestHost;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace Microsoft.Extensions.Localization.Tests

Просмотреть файл

@ -4,11 +4,11 @@
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Localization;
using Microsoft.AspNet.TestHost;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Net.Http.Headers;
using Xunit;

Просмотреть файл

@ -5,12 +5,12 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Localization;
using Microsoft.AspNet.TestHost;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace Microsoft.Extensions.Localization.Tests

Просмотреть файл

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -7,7 +7,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>19a2a931-5c60-47a0-816a-0dc9c4ce5736</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Localization.Tests</RootNamespace>
<RootNamespace>Microsoft.AspNetCore.Localization.Tests</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup>

Просмотреть файл

@ -4,11 +4,11 @@
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Localization;
using Microsoft.AspNet.TestHost;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace Microsoft.Extensions.Localization.Tests

Просмотреть файл

@ -1,13 +1,13 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Threading;
using Microsoft.AspNet.Builder;
using Microsoft.AspNetCore.Builder;
using Xunit;
namespace Microsoft.AspNet.Localization.Tests
namespace Microsoft.AspNetCore.Localization.Tests
{
public class RequestLocalizationOptionsTest : IDisposable
{

Просмотреть файл

@ -1,10 +1,10 @@
{
{
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Localization": "1.0.0-*",
"Microsoft.AspNet.TestHost": "1.0.0-*",
"Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
"xunit": "2.1.0-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},