Skip to content

Commit

Permalink
- Refactor Libuv-Transport based on [NetUV.Core](https://github.com/S…
Browse files Browse the repository at this point in the history
…tormHub/NetUV)

- Add support for UDP in Libuv-Transport
- Fix #4
- Modify **Suite** tests to also target .NET Core in linux(locally) (#19)
  • Loading branch information
cuteant committed Sep 15, 2020
1 parent f45cfad commit 7fd7a36
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\nuget.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<RootNamespace>DotNetty.Transport.Libuv</RootNamespace>
<AssemblyName>DotNetty.Transport.Libuv</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<Import Project="..\nuget.props" />

<PropertyGroup Label="NuGet">
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<RootNamespace>DotNetty.Transport.Libuv</RootNamespace>
<AssemblyName>DotNetty.Transport.Libuv</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="libuv-shared" Version="$(LibuvSharedPackageVersion)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DotNetty.Transport\DotNetty.Transport.Netstandard.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Internal\Strings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Internal\Strings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<PropertyGroup Label="NuGet">
<IsPackable>false</IsPackable>
</PropertyGroup>

<Import Project="..\version.props" />
<ItemGroup>
<ProjectReference Include="..\DotNetty.NetUV\DotNetty.NetUV.Netstandard.csproj" />
<ProjectReference Include="..\DotNetty.Transport\DotNetty.Transport.Netstandard.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Update="Internal\Strings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Internal\Strings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

<Import Project="..\version.props" />
</Project>
8 changes: 1 addition & 7 deletions src/DotNetty.Transport.Libuv/DotNetty.Transport.Libuv.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@
<PackageTags>socket;tcp;protocol;netty;dotnetty;network</PackageTags>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="$(SystemRuntimeInteropServicesRuntimeInformationPackageVersion)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="libuv-shared" Version="$(LibuvSharedPackageVersion)" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DotNetty.NetUV\DotNetty.NetUV.csproj" />
<ProjectReference Include="..\DotNetty.Transport\DotNetty.Transport.csproj" />
</ItemGroup>

Expand Down

0 comments on commit 7fd7a36

Please sign in to comment.