Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions src/libs/H.Firewall/H.Firewall.csproj
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn)</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
</PropertyGroup>

<PropertyGroup Label="NuGet">
<Description>C# high-level firewall library</Description>
<PackageTags>firewall, wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="IPNetwork2" Version="3.0.667" />
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\H.Wfp\H.Wfp.csproj" />
</ItemGroup>

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn)</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
</PropertyGroup>
<PropertyGroup Label="NuGet">
<Description>C# high-level firewall library</Description>
<PackageTags>firewall, wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="IPNetwork2" Version="3.0.667" />
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\H.Wfp\H.Wfp.csproj" />
</ItemGroup>
</Project>
44 changes: 22 additions & 22 deletions src/libs/H.OpenVpn/H.OpenVpn.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1008;CA1003;CA1031;CA1307;CA2016</NoWarn>
</PropertyGroup>

<PropertyGroup Label="NuGet">
<Description>C# wrapper library for OpenVPN</Description>
<PackageTags>openvpn, net-standard</PackageTags>
</PropertyGroup>

<ItemGroup>
<Content Include="OpenVPN\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
</ItemGroup>

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1008;CA1003;CA1031;CA1307;CA2016</NoWarn>
</PropertyGroup>
<PropertyGroup Label="NuGet">
<Description>C# wrapper library for OpenVPN</Description>
<PackageTags>openvpn, net-standard</PackageTags>
</PropertyGroup>
<ItemGroup>
<Content Include="OpenVPN\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Threading.Channels" Version="9.0.0" />
</ItemGroup>
</Project>
52 changes: 26 additions & 26 deletions src/libs/H.Vpn/H.Vpn.csproj
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1003;CA1031;CA1308</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
</PropertyGroup>

<PropertyGroup Label="NuGet">
<Description>C# high-level VPN library</Description>
<PackageTags>vpn, openvpn, wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\H.Firewall\H.Firewall.csproj" />
<ProjectReference Include="..\H.IpHlpApi\H.IpHlpApi.csproj" />
<ProjectReference Include="..\H.OpenVpn\H.OpenVpn.csproj" />
</ItemGroup>

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1003;CA1031;CA1308</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
</PropertyGroup>
<PropertyGroup Label="NuGet">
<Description>C# high-level VPN library</Description>
<PackageTags>vpn, openvpn, wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\H.Firewall\H.Firewall.csproj" />
<ProjectReference Include="..\H.IpHlpApi\H.IpHlpApi.csproj" />
<ProjectReference Include="..\H.OpenVpn\H.OpenVpn.csproj" />
</ItemGroup>
</Project>
52 changes: 26 additions & 26 deletions src/libs/H.VpnService/H.VpnService.csproj
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1031;CA1003</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
</PropertyGroup>

<PropertyGroup Label="NuGet">
<Description>C# high-level VPN library with implemented IPC</Description>
<PackageTags>vpn, openvpn, wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="H.Pipes.AccessControl" Version="2.0.59" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\H.Vpn\H.Vpn.csproj" />
</ItemGroup>

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1031;CA1003</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
</PropertyGroup>
<PropertyGroup Label="NuGet">
<Description>C# high-level VPN library with implemented IPC</Description>
<PackageTags>vpn, openvpn, wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="H.Pipes.AccessControl" Version="15.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\H.Vpn\H.Vpn.csproj" />
</ItemGroup>
</Project>
64 changes: 32 additions & 32 deletions src/libs/H.Wfp/H.Wfp.csproj
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1707;CA1815;CA1720;CA5392;CA1008;CA1819;CA1052;CA1816;CA2225;CA1062</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
<PolySharpExcludeGeneratedTypes>System.Diagnostics.CodeAnalysis.UnscopedRefAttribute</PolySharpExcludeGeneratedTypes>
</PropertyGroup>

<ItemGroup>
<Using Include="Windows.Win32" />
<Using Include="Windows.Win32.Foundation" />
<Using Include="Windows.Win32.NetworkManagement.WindowsFilteringPlatform" />
<Using Include="Microsoft.Win32.SafeHandles" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.106">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<PropertyGroup Label="NuGet">
<Description>C# wrapper library for Windows Filtering Platform</Description>
<PackageTags>wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net7.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1707;CA1815;CA1720;CA5392;CA1008;CA1819;CA1052;CA1816;CA2225;CA1062</NoWarn>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
<PolySharpExcludeGeneratedTypes>System.Diagnostics.CodeAnalysis.UnscopedRefAttribute</PolySharpExcludeGeneratedTypes>
</PropertyGroup>
<ItemGroup>
<Using Include="Windows.Win32" />
<Using Include="Windows.Win32.Foundation" />
<Using Include="Windows.Win32.NetworkManagement.WindowsFilteringPlatform" />
<Using Include="Microsoft.Win32.SafeHandles" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.106">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup Label="NuGet">
<Description>C# wrapper library for Windows Filtering Platform</Description>
<PackageTags>wfp, windows-filtering-platform, net-standard</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.7.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.7.0" />
<PackageReference Include="FluentAssertions" Version="7.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.7.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.7.0" />
<PackageReference Include="FluentAssertions" Version="7.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.7.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.7.0" />
<PackageReference Include="FluentAssertions" Version="7.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.7.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.7.0" />
<PackageReference Include="FluentAssertions" Version="7.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down