Skip to content

Commit

Permalink
Fix Mono project refs for Monitor interop.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoz committed Nov 4, 2012
1 parent 7c40989 commit 2020df5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ lib-*

# NuGet-related
packages
NuGet.exe
NuGet.exe.old

# User Settings
*.suo
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroMQ/Interop/LibZmq.Mono.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static LibZmq()

zmq_ctx_get = (ctx, opt) => { throw new ZmqVersionException(MajorVersion, MinorVersion, 3, 2); };
zmq_ctx_set = (ctx, opt, val) => { throw new ZmqVersionException(MajorVersion, MinorVersion, 3, 2); };
zmq_socket_monitor = (sck, mon) => { throw new ZmqVersionException(MajorVersion, MinorVersion, 3, 2); };
zmq_socket_monitor = (sck, addr, e) => { throw new ZmqVersionException(MajorVersion, MinorVersion, 3, 2); };

zmq_unbind = (sck, addr) => { throw new ZmqVersionException(MajorVersion, MinorVersion, 3, 2); };
zmq_disconnect = (sck, addr) => { throw new ZmqVersionException(MajorVersion, MinorVersion, 3, 2); };
Expand Down
17 changes: 8 additions & 9 deletions src/ZeroMQ/ZeroMQ.Mono.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Optimize>False</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;MONO;UNIX</DefineConstants>
<ErrorReport>prompt</ErrorReport>
Expand All @@ -24,12 +24,12 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<Optimize>True</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;MONO;UNIX</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<GenerateDocumentation>true</GenerateDocumentation>
<GenerateDocumentation>True</GenerateDocumentation>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -93,19 +93,18 @@
<Compile Include="ContextOption.cs" />
<Compile Include="RouterBehavior.cs" />
<Compile Include="TcpKeepaliveBehaviour.cs" />
<Compile Include="Interop\EventData.cs" />
<Compile Include="Interop\EventDataErrorEntry.cs" />
<Compile Include="Interop\EventDataFileDescriptorEntry.cs" />
<Compile Include="Interop\EventDataIntervalEntry.cs" />
<Compile Include="Interop\Retry.cs" />
<Compile Include="Interop\Tracer.cs" />
<Compile Include="Interop\ZmqMsgT.cs" />
<Compile Include="Monitoring\MonitorEvent.cs" />
<Compile Include="Monitoring\ZmqMonitor.cs" />
<Compile Include="Monitoring\ZmqMonitorErrorEventArgs.cs" />
<Compile Include="Monitoring\ZmqMonitorEventArgs.cs" />
<Compile Include="Monitoring\ZmqMonitorFileDescriptorEventArgs.cs" />
<Compile Include="Monitoring\ZmqMonitorIntervalEventArgs.cs" />
<Compile Include="Interop\MonitorEventData.cs" />
<Compile Include="Monitoring\MonitorContextExtensions.cs" />
<Compile Include="Monitoring\MonitorSocketExtensions.cs" />
<Compile Include="Monitoring\MonitorEvents.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit 2020df5

Please sign in to comment.