We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net 8, NativeAOT, Windows 10 10.0.19045, WindowsFirewallHelper 2.2.0.86
Publish Code; dotnet publish -r win-x64 -c Release
Code;
var rule = FirewallManager.Instance.CreateApplicationRule(name, FirewallAction.Block, AppPath, FirewallProtocol.Any); rule.Direction = direction; FirewallManager.Instance.Rules.Add(rule);
[Error] System.NotSupportedException: Specified method is not supported. at WindowsFirewallHelper.FirewallManager.get_Instance() + 0x58
.csproj;
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> <IncludeSymbolsInSingleFile>true</IncludeSymbolsInSingleFile> <PublishAot>true</PublishAot> <StripSymbols>true</StripSymbols> <RootNamespace>KavisPlus</RootNamespace> <BuiltInComInteropSupport>true</BuiltInComInteropSupport> </PropertyGroup>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
.Net 8, NativeAOT, Windows 10 10.0.19045, WindowsFirewallHelper 2.2.0.86
Publish Code;
dotnet publish -r win-x64 -c Release
Code;
[Error] System.NotSupportedException: Specified method is not supported.
at WindowsFirewallHelper.FirewallManager.get_Instance() + 0x58
.csproj;
The text was updated successfully, but these errors were encountered: