Skip to content

Commit

Permalink
merge from CrescentFresh-no-strong-name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Menzies-Smith committed Dec 8, 2015
1 parent 7a6cf54 commit 46b98fa
Show file tree
Hide file tree
Showing 35 changed files with 829 additions and 823 deletions.
24 changes: 12 additions & 12 deletions lib/nuget-create.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
nuget pack ../src/TagCache.Redis/TagCache.Redis.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget

nuget pack ../src/TagCache.Redis.Json.Net/TagCache.Redis.Json.Net.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.Json.Net

nuget pack ../src/TagCache.Redis.ProtoBuf/TagCache.Redis.ProtoBuf.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.ProtoBuf

nuget pack ../src/TagCache.Redis.FastJson/TagCache.Redis.FastJson.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.FastJson

nuget pack ../src/TagCache.Redis.Migrant/TagCache.Redis.Migrant.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.Migrant

nuget pack ../src/TagCache.Redis.MessagePack/TagCache.Redis.MessagePack.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.MessagePack

nuget pack ../src/TagCache.Redis/TagCache.Redis.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget

nuget pack ../src/TagCache.Redis.Json.Net/TagCache.Redis.Json.Net.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.Json.Net

nuget pack ../src/TagCache.Redis.ProtoBuf/TagCache.Redis.ProtoBuf.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.ProtoBuf

nuget pack ../src/TagCache.Redis.FastJson/TagCache.Redis.FastJson.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.FastJson

nuget pack ../src/TagCache.Redis.Migrant/TagCache.Redis.Migrant.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.Migrant

nuget pack ../src/TagCache.Redis.MessagePack/TagCache.Redis.MessagePack.csproj -Build -Symbols -Properties Configuration=Release -OutputDirectory nuget/TagCache.Redis.MessagePack

6 changes: 6 additions & 0 deletions src/SampleMvcSite/SampleMvcSite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<TargetFrameworkProfile />
<MvcProjectUpgradeChecked>true</MvcProjectUpgradeChecked>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>12.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
34 changes: 17 additions & 17 deletions src/TagCache.Redis.FastJson/FastJsonSerializationProvider.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
using StackExchange.Redis;
using TagCache.Redis.Interfaces;

namespace TagCache.Redis.FastJson
{
public class FastJsonSerializationProvider : ISerializationProvider
{
public T Deserialize<T>(RedisValue value) where T : class
{
return fastJSON.JSON.ToObject<T>(value);
}

public RedisValue Serialize<T>(T value) where T : class
{
return fastJSON.JSON.ToJSON(value);
}
}
using StackExchange.Redis;
using TagCache.Redis.Interfaces;

namespace TagCache.Redis.FastJson
{
public class FastJsonSerializationProvider : ISerializationProvider
{
public T Deserialize<T>(RedisValue value) where T : class
{
return fastJSON.JSON.ToObject<T>(value);
}

public RedisValue Serialize<T>(T value) where T : class
{
return fastJSON.JSON.ToJSON(value);
}
}
}
8 changes: 4 additions & 4 deletions src/TagCache.Redis.FastJson/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Reflection;
[assembly: AssemblyTitle("TagCache.Redis.FastJson")]
[assembly: AssemblyDescription("FastJSON serialization for TagCache.Redis")]
[assembly: AssemblyProduct("TagCache.Redis.FastJson")]
using System.Reflection;
[assembly: AssemblyTitle("TagCache.Redis.FastJson")]
[assembly: AssemblyDescription("FastJSON serialization for TagCache.Redis")]
[assembly: AssemblyProduct("TagCache.Redis.FastJson")]
148 changes: 74 additions & 74 deletions src/TagCache.Redis.FastJson/TagCache.Redis.FastJson.csproj
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0089EEE8-9DFD-41C0-9128-70BEE1C253D8}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TagCache.Redis.FastJson</RootNamespace>
<AssemblyName>TagCache.Redis.FastJson</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="fastjson, Version=2.1.0.0, Culture=neutral, PublicKeyToken=6b75a806b86095cd, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\fastJSON.2.1.9.0\lib\net40\fastjson.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis, Version=1.0.316.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.1.0.394\lib\net45\StackExchange.Redis.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\TagCache.Redis\Properties\AssemblyInfo.Shared.cs">
<Link>Properties\AssemblyInfo.Shared.cs</Link>
</Compile>
<Compile Include="CacheConfiguration.cs" />
<Compile Include="FastJsonSerializationProvider.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="TagCache.Redis.FastJson.nuspec" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TagCache.Redis\TagCache.Redis.csproj">
<Project>{280f50ba-1633-4de0-8c6f-77f82290d214}</Project>
<Name>TagCache.Redis</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0089EEE8-9DFD-41C0-9128-70BEE1C253D8}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TagCache.Redis.FastJson</RootNamespace>
<AssemblyName>TagCache.Redis.FastJson</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="fastjson, Version=2.1.0.0, Culture=neutral, PublicKeyToken=6b75a806b86095cd, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\fastJSON.2.1.9.0\lib\net40\fastjson.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis, Version=1.0.316.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.1.0.394\lib\net45\StackExchange.Redis.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\TagCache.Redis\Properties\AssemblyInfo.Shared.cs">
<Link>Properties\AssemblyInfo.Shared.cs</Link>
</Compile>
<Compile Include="CacheConfiguration.cs" />
<Compile Include="FastJsonSerializationProvider.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="TagCache.Redis.FastJson.nuspec" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TagCache.Redis\TagCache.Redis.csproj">
<Project>{280f50ba-1633-4de0-8c6f-77f82290d214}</Project>
<Name>TagCache.Redis</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
8 changes: 4 additions & 4 deletions src/TagCache.Redis.FastJson/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="fastJSON" version="2.1.9.0" targetFramework="net45" />
<package id="StackExchange.Redis" version="1.0.394" targetFramework="net45" />
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="fastJSON" version="2.1.9.0" targetFramework="net45" />
<package id="StackExchange.Redis" version="1.0.394" targetFramework="net45" />
</packages>
6 changes: 3 additions & 3 deletions src/TagCache.Redis.Json.Net/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Reflection;
[assembly: AssemblyTitle("TagCache.Redis.Json.Net")]
[assembly: AssemblyDescription("JSON.NET serialization for TagCache.Redis")]
using System.Reflection;
[assembly: AssemblyTitle("TagCache.Redis.Json.Net")]
[assembly: AssemblyDescription("JSON.NET serialization for TagCache.Redis")]
[assembly: AssemblyProduct("TagCache.Redis.Json.Net")]
Loading

0 comments on commit 46b98fa

Please sign in to comment.