123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>net8.0</TargetFramework>
- <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
- <Version>6.0</Version>
- <IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
- <Company>Technitium</Company>
- <Product>Technitium DNS Server</Product>
- <Authors>Shreyas Zare</Authors>
- <AssemblyName>BlockPageApp</AssemblyName>
- <RootNamespace>BlockPage</RootNamespace>
- <PackageProjectUrl>https://technitium.com/dns/</PackageProjectUrl>
- <RepositoryUrl>https://github.com/TechnitiumSoftware/DnsServer</RepositoryUrl>
- <Description>Serves a block page from a built-in web server that can be displayed to the end user when a website is blocked by the DNS server.\n\nNote! You need to manually set the Blocking Type as Custom Address in the blocking settings and configure the current server's IP address as Custom Blocking Addresses for the block page to be served to the users. Use a PKCS #12 certificate (.pfx or .p12) for enabling HTTPS support. Enabling HTTPS support will show certificate error to the user which is expected and the user will have to proceed ignoring the certificate error to be able to see the block page.</Description>
- <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
- <OutputType>Library</OutputType>
- </PropertyGroup>
- <ItemGroup>
- <FrameworkReference Include="Microsoft.AspNetCore.App" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\DnsServerCore.ApplicationCommon\DnsServerCore.ApplicationCommon.csproj">
- <Private>false</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Reference Include="TechnitiumLibrary">
- <HintPath>..\..\..\TechnitiumLibrary\bin\TechnitiumLibrary.dll</HintPath>
- <Private>false</Private>
- </Reference>
- <Reference Include="TechnitiumLibrary.Net">
- <HintPath>..\..\..\TechnitiumLibrary\bin\TechnitiumLibrary.Net.dll</HintPath>
- <Private>false</Private>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <None Update="dnsApp.config">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </None>
- </ItemGroup>
- <ItemGroup>
- <None Remove="wwwroot\index.html" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="wwwroot\index.html">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- </ItemGroup>
- </Project>
|