Updated Interop.NetFwTypeLib to x64

This commit is contained in:
Taloth Saldono 2019-12-25 00:41:06 +01:00
parent 1c1f9cddff
commit 7bcfa3d7b2
4 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -31,13 +31,13 @@ namespace NzbDrone.Host.AccessControl
{
if (!IsNzbDronePortOpen(_configFileProvider.Port))
{
_logger.Debug("Opening Port for NzbDrone: {0}", _configFileProvider.Port);
_logger.Debug("Opening Port for Sonarr: {0}", _configFileProvider.Port);
OpenFirewallPort(_configFileProvider.Port);
}
if (_configFileProvider.EnableSsl && !IsNzbDronePortOpen(_configFileProvider.SslPort))
{
_logger.Debug("Opening SSL Port for NzbDrone: {0}", _configFileProvider.SslPort);
_logger.Debug("Opening SSL Port for Sonarr: {0}", _configFileProvider.SslPort);
OpenFirewallPort(_configFileProvider.SslPort);
}
}

View File

@ -16,8 +16,8 @@
<ProjectReference Include="..\Sonarr.Http\Sonarr.Http.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="Interop.NetFwTypeLib">
<HintPath>..\Libraries\Interop.NetFwTypeLib.dll</HintPath>
<Reference Include="Interop.NetFwTypeLib" Condition="'$(RuntimeIdentifier)'=='win-x64'">
<HintPath>..\Libraries\FirewallApi\$(Platform)\Interop.NetFwTypeLib.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="System.ServiceProcess" />