Skip to content

Commit

Permalink
Use nuget for IronRSLClient
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylorch committed Jun 7, 2021
1 parent d94ec67 commit e962efb
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 10 deletions.
18 changes: 18 additions & 0 deletions ironfleet/src/IronRSLClient/IronRSLClient.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<PackageId>IronRSLClient</PackageId>
<Version>1.0.2</Version>
<Authors>Jay Lorch and Chris Hawblitzel</Authors>
<Company>Microsoft Corporation</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\IronfleetCommon\Networking.cs" />
<Compile Include="..\Dafny\Distributed\Common\Native\IoFramework.cs" />
</ItemGroup>

</Project>
25 changes: 25 additions & 0 deletions ironfleet/src/IronRSLClient/IronRSLClient.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31321.278
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IronRSLClient", "IronRSLClient.csproj", "{0AC4042E-CFAF-41AD-86DD-C91B39D06CB5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0AC4042E-CFAF-41AD-86DD-C91B39D06CB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0AC4042E-CFAF-41AD-86DD-C91B39D06CB5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0AC4042E-CFAF-41AD-86DD-C91B39D06CB5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0AC4042E-CFAF-41AD-86DD-C91B39D06CB5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AFC77FFD-EE03-4482-A506-7F4B3A3B4431}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
using System.Linq;
using System.Net;

namespace IronfleetCommon
namespace IronRSLClient
{
class RSLClient
public class RSLClient
{
IPEndPoint[] serverEps;
int myPort;
Expand Down
1 change: 1 addition & 0 deletions ironfleet/src/IronRSLCounterClient/Client.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using IronfleetCommon;
using IronfleetIoFramework;
using IronRSLClient;
using System;
using System.Collections.Generic;
using System.IO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
</PropertyGroup>

<ItemGroup>
<Compile Include="..\IronfleetCommon\Networking.cs" />
<Compile Include="..\IronfleetCommon\RSLClient.cs" />
<Compile Include="..\IronfleetCommon\Timer.cs" />
<Compile Include="..\Dafny\Distributed\Common\Native\IoFramework.cs" />
<PackageReference Include="IronRSLClient" Version="1.0.2" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions ironfleet/src/IronRSLKVClient/Client.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using IronfleetCommon;
using IronRSLClient;
using IronfleetIoFramework;
using KVMessages;
using System;
Expand Down
6 changes: 2 additions & 4 deletions ironfleet/src/IronRSLKVClient/IronRSLKVClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
</PropertyGroup>

<ItemGroup>
<Compile Include="..\IronfleetCommon\Networking.cs" />
<Compile Include="..\IronfleetCommon\RSLClient.cs" />
<Compile Include="..\IronfleetCommon\Timer.cs" />
<Compile Include="..\IronRSLKVServer\KVMessages.cs" />
<Compile Include="..\Dafny\Distributed\Common\Native\IoFramework.cs" />
<PackageReference Include="IronRSLClient" Version="1.0.2" />
<Compile Include="..\IronfleetCommon\Timer.cs" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion ironfleet/src/IronfleetCommon/Networking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace IronfleetCommon
{
class Networking
public class Networking
{
public static IPEndPoint ResolveIPEndpoint(string s)
{
Expand Down

0 comments on commit e962efb

Please sign in to comment.