Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
aecbdea6
Commit
aecbdea6
authored
May 06, 2014
by
Marc Gravell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #32 from returnString/master
Fix compilation for MD/XS
parents
54d69d2f
09d57660
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
8 deletions
+20
-8
StackExchange.Redis.md.csproj
StackExchange.Redis/StackExchange.Redis.md.csproj
+16
-4
ConnectionMultiplexer.cs
...change.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
+1
-1
PhysicalConnection.cs
...kExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
+1
-1
SocketManager.NoPoll.cs
...xchange.Redis/StackExchange/Redis/SocketManager.NoPoll.cs
+1
-1
SocketManager.Poll.cs
...kExchange.Redis/StackExchange/Redis/SocketManager.Poll.cs
+1
-1
No files found.
StackExchange.Redis/StackExchange.Redis.md.csproj
View file @
aecbdea6
...
...
@@ -3,23 +3,25 @@
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
x86
</Platform>
<ProductVersion>
10.0.0
</ProductVersion>
<ProductVersion>
8.0.30703
</ProductVersion>
<SchemaVersion>
2.0
</SchemaVersion>
<ProjectGuid>
{8EA21FC8-9CF7-438B-94F2-42E3810C3641}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<OutputType>
Library
</OutputType>
<RootNamespace>
StackExchange.Redis.md
</RootNamespace>
<AssemblyName>
StackExchange.Redis.md
</AssemblyName>
<TargetFrameworkVersion>
v4.5
</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|x86' "
>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug
</OutputPath>
<DefineConstants>
DEBUG;
</DefineConstants>
<DefineConstants>
DEBUG;
MONO
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
<PlatformTarget>
x86
</PlatformTarget>
<ConsolePause>
false
</ConsolePause>
<AllowUnsafeBlocks>
true
</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|x86' "
>
<DebugType>
none
</DebugType>
...
...
@@ -29,13 +31,14 @@
<WarningLevel>
4
</WarningLevel>
<PlatformTarget>
x86
</PlatformTarget>
<ConsolePause>
false
</ConsolePause>
<AllowUnsafeBlocks>
true
</AllowUnsafeBlocks>
<DefineConstants>
MONO
</DefineConstants>
</PropertyGroup>
<Import
Project=
"$(MSBuildBinPath)\Microsoft.CSharp.targets"
/>
<ItemGroup>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"StackExchange\Redis\Aggregate.cs"
/>
<Compile
Include=
"StackExchange\Redis\Bitwise.cs"
/>
<Compile
Include=
"StackExchange\Redis\ChannelWrapper.cs"
/>
<Compile
Include=
"StackExchange\Redis\ClientFlags.cs"
/>
<Compile
Include=
"StackExchange\Redis\ClientInfo.cs"
/>
<Compile
Include=
"StackExchange\Redis\ClusterConfiguration.cs"
/>
...
...
@@ -110,8 +113,17 @@
<Compile
Include=
"StackExchange\Redis\StringSplits.cs"
/>
<Compile
Include=
"StackExchange\Redis\TaskSource.cs"
/>
<Compile
Include=
"StackExchange\Redis\When.cs"
/>
<Compile
Include=
"StackExchange\Redis\HashEntry.cs"
/>
<Compile
Include=
"StackExchange\Redis\ExtensionMethods.cs"
/>
<Compile
Include=
"StackExchange\Redis\SocketManager.NoPoll.cs"
/>
<Compile
Include=
"StackExchange\Redis\SocketManager.Poll.cs"
/>
<Compile
Include=
"StackExchange\Redis\SortedSetEntry.cs"
/>
</ItemGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.IO.Compression"
/>
</ItemGroup>
<ItemGroup>
<Folder
Include=
"StackExchange\Redis\"
/>
</ItemGroup>
</Project>
\ No newline at end of file
StackExchange.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
View file @
aecbdea6
...
...
@@ -169,7 +169,7 @@ internal void OnErrorMessage(EndPoint endpoint, string message)
static
void
Write
<
T
>(
ZipArchive
zip
,
string
name
,
Task
task
,
Action
<
T
,
StreamWriter
>
callback
)
{
var
entry
=
zip
.
CreateEntry
(
name
,
#if
MONO
#if
__MonoCS__
CompressionLevel
.
Fastest
#else
CompressionLevel
.
Optimal
...
...
StackExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
View file @
aecbdea6
...
...
@@ -539,7 +539,7 @@ SocketMode ISocketCallback.Connected(Stream stream)
if
(
string
.
IsNullOrWhiteSpace
(
host
))
host
=
Format
.
ToStringHostOnly
(
bridge
.
ServerEndPoint
.
EndPoint
);
var
ssl
=
new
SslStream
(
stream
,
false
,
config
.
CertificateValidationCallback
,
config
.
CertificateSelectionCallback
#if !
MONO
#if !
__MonoCS__
,
EncryptionPolicy
.
RequireEncryption
#endif
);
...
...
StackExchange.Redis/StackExchange/Redis/SocketManager.NoPoll.cs
View file @
aecbdea6
#
if
MONO
#
if
__MonoCS__
namespace
StackExchange.Redis
{
...
...
StackExchange.Redis/StackExchange/Redis/SocketManager.Poll.cs
View file @
aecbdea6
...
...
@@ -5,7 +5,7 @@
using
System.Runtime.InteropServices
;
using
System.Threading
;
#if !
MONO
#if !
__MonoCS__
namespace
StackExchange.Redis
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment