Downgrade to stable packages
This commit is contained in:
parent
eb7d365ce5
commit
11922f9ef2
|
|
@ -1,4 +1,5 @@
|
|||
<Project>
|
||||
<Import Project="dependencies.props" />
|
||||
<Import Project="..\version.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
@ -7,8 +8,6 @@
|
|||
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Key.snk</AssemblyOriginatorKeyFile>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
|
||||
<NetCoreAppImplicitPackageVersion>1.2.0-*</NetCoreAppImplicitPackageVersion>
|
||||
<NetStandardImplicitPackageVersion>1.6.2-*</NetStandardImplicitPackageVersion>
|
||||
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion>
|
||||
<CoreFxVersion>4.3.0</CoreFxVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -15,7 +15,7 @@ Microsoft.Extensions.Localization.IStringLocalizer<T></Description>
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.CSharp" Version="4.4.0-*" />
|
||||
<PackageReference Include="Microsoft.CSharp" Version="$(CoreFxVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
|
||||
<PackageReference Include="System.Resources.Reader" Version="4.4.0-*" />
|
||||
<PackageReference Include="System.Resources.Reader" Version="$(CoreFxVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using LocalizationWebsite.Models;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
|
@ -42,7 +43,8 @@ namespace LocalizationWebsite
|
|||
}
|
||||
});
|
||||
|
||||
var stringLocalizer = stringLocalizerFactory.Create("Test", location: typeof(LocalizationWebsite.StartupResourcesAtRootFolder).Assembly.GetName().Name);
|
||||
var location = typeof(LocalizationWebsite.StartupResourcesAtRootFolder).GetTypeInfo().Assembly.GetName().Name;
|
||||
var stringLocalizer = stringLocalizerFactory.Create("Test", location: location);
|
||||
|
||||
app.Run(async (context) =>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace LocalizationWebsite
|
|||
}
|
||||
});
|
||||
|
||||
var assemblyName = typeof(StartupResourcesInFolder).Assembly.GetName().Name;
|
||||
var assemblyName = typeof(StartupResourcesInFolder).GetTypeInfo().Assembly.GetName().Name;
|
||||
var stringLocalizer = stringLocalizerFactory.Create("Test", assemblyName);
|
||||
|
||||
app.Run(async (context) =>
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">
|
||||
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.4.0-*" />
|
||||
<PackageReference Include="System.Resources.Writer" Version="4.4.0-*" />
|
||||
<PackageReference Include="System.Resources.Writer" Version="$(CoreFxVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in New Issue