|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 |
|
3 |
| - <PropertyGroup> |
4 |
| - <Description>Cleans HTML from constructs that can be used for cross-site scripting (XSS)</Description> |
5 |
| - <Copyright>Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss</Copyright> |
6 |
| - <AssemblyTitle>HtmlSanitizer</AssemblyTitle> |
7 |
| - <AppVeyor_Build_Version Condition="'$(APPVEYOR_BUILD_VERSION)' == ''">1.0.0</AppVeyor_Build_Version> |
8 |
| - <AssemblyVersion>9.0.0.0</AssemblyVersion> |
9 |
| - <InformationalVersion>$(AppVeyor_Build_Version)</InformationalVersion> |
10 |
| - <FileVersion>$(AppVeyor_Build_Version).0</FileVersion> |
11 |
| - <PackageVersion>$(AppVeyor_Build_Version)</PackageVersion> |
12 |
| - <Authors>Michael Ganss</Authors> |
13 |
| - <TargetFrameworks>net462;netstandard2.0;net8.0</TargetFrameworks> |
14 |
| - <AssemblyName>HtmlSanitizer</AssemblyName> |
15 |
| - <AssemblyOriginatorKeyFile>HtmlSanitizer.snk</AssemblyOriginatorKeyFile> |
16 |
| - <SignAssembly>true</SignAssembly> |
17 |
| - <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> |
18 |
| - <PackageId>HtmlSanitizer</PackageId> |
19 |
| - <PackageTags>xss;anti;antixss;html;security</PackageTags> |
20 |
| - <PackageProjectUrl>https://github.com/mganss/HtmlSanitizer</PackageProjectUrl> |
21 |
| - <PackageLicenseExpression>MIT</PackageLicenseExpression> |
22 |
| - <PackageReadmeFile>README.md</PackageReadmeFile> |
23 |
| - <RepositoryType>git</RepositoryType> |
24 |
| - <RepositoryUrl>git://github.com/mganss/HtmlSanitizer</RepositoryUrl> |
25 |
| - <RootNamespace>Ganss.Xss</RootNamespace> |
26 |
| - <GenerateDocumentationFile>true</GenerateDocumentationFile> |
27 |
| - <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\HtmlSanitizer.xml</DocumentationFile> |
28 |
| - <PublishRepositoryUrl>true</PublishRepositoryUrl> |
29 |
| - <EmbedUntrackedSources>true</EmbedUntrackedSources> |
30 |
| - <IncludeSymbols>true</IncludeSymbols> |
31 |
| - <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
32 |
| - <LangVersion>preview</LangVersion> |
33 |
| - <Nullable>enable</Nullable> |
34 |
| - <WarningsAsErrors>nullable</WarningsAsErrors> |
35 |
| - <NoWarn>$(NoWarn);IDE0130;SYSLIB1045</NoWarn> |
36 |
| - </PropertyGroup> |
| 3 | + <PropertyGroup> |
| 4 | + <Description>Cleans HTML from constructs that can be used for cross-site scripting (XSS)</Description> |
| 5 | + <Copyright>Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss</Copyright> |
| 6 | + <AssemblyTitle>HtmlSanitizer</AssemblyTitle> |
| 7 | + <AppVeyor_Build_Version Condition="'$(APPVEYOR_BUILD_VERSION)' == ''">1.0.0</AppVeyor_Build_Version> |
| 8 | + <AssemblyVersion>9.0.0.0</AssemblyVersion> |
| 9 | + <InformationalVersion>$(AppVeyor_Build_Version)</InformationalVersion> |
| 10 | + <FileVersion>$(AppVeyor_Build_Version).0</FileVersion> |
| 11 | + <PackageVersion>$(AppVeyor_Build_Version)</PackageVersion> |
| 12 | + <Authors>Michael Ganss</Authors> |
| 13 | + <TargetFrameworks>net462;net47;netstandard2.0;net8.0</TargetFrameworks> |
| 14 | + <AssemblyName>HtmlSanitizer</AssemblyName> |
| 15 | + <AssemblyOriginatorKeyFile>HtmlSanitizer.snk</AssemblyOriginatorKeyFile> |
| 16 | + <SignAssembly>true</SignAssembly> |
| 17 | + <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> |
| 18 | + <PackageId>HtmlSanitizer</PackageId> |
| 19 | + <PackageTags>xss;anti;antixss;html;security</PackageTags> |
| 20 | + <PackageProjectUrl>https://github.com/mganss/HtmlSanitizer</PackageProjectUrl> |
| 21 | + <PackageLicenseExpression>MIT</PackageLicenseExpression> |
| 22 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 23 | + <RepositoryType>git</RepositoryType> |
| 24 | + <RepositoryUrl>git://github.com/mganss/HtmlSanitizer</RepositoryUrl> |
| 25 | + <RootNamespace>Ganss.Xss</RootNamespace> |
| 26 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 27 | + <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\HtmlSanitizer.xml</DocumentationFile> |
| 28 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 29 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 30 | + <IncludeSymbols>true</IncludeSymbols> |
| 31 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 32 | + <LangVersion>preview</LangVersion> |
| 33 | + <Nullable>enable</Nullable> |
| 34 | + <WarningsAsErrors>nullable</WarningsAsErrors> |
| 35 | + <NoWarn>$(NoWarn);IDE0130;SYSLIB1045</NoWarn> |
| 36 | + </PropertyGroup> |
37 | 37 |
|
38 |
| - <PropertyGroup Condition="'$(CI)' == 'True'"> |
39 |
| - <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
40 |
| - </PropertyGroup> |
| 38 | + <PropertyGroup Condition="'$(CI)' == 'True'"> |
| 39 | + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
| 40 | + </PropertyGroup> |
41 | 41 |
|
42 |
| - <ItemGroup> |
43 |
| - <PackageReference Include="AngleSharp" Version="[0.17.1]" /> |
44 |
| - <PackageReference Include="AngleSharp.Css" Version="[0.17.0]" /> |
45 |
| - <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" /> |
46 |
| - </ItemGroup> |
| 42 | + <ItemGroup> |
| 43 | + <PackageReference Include="AngleSharp" Version="[0.17.1]" /> |
| 44 | + <PackageReference Include="AngleSharp.Css" Version="[0.17.0]" /> |
| 45 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" /> |
| 46 | + </ItemGroup> |
47 | 47 |
|
48 |
| - <ItemGroup Condition=" '$(TargetFramework)' == 'net462'"> |
49 |
| - <PackageReference Include="System.Collections.Immutable" Version="9.0.1" /> |
50 |
| - <PackageReference Include="System.ValueTuple" Version="4.6.1" /> |
51 |
| - </ItemGroup> |
52 |
| - <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'"> |
53 |
| - <PackageReference Include="System.Collections.Immutable" Version="9.0.1" /> |
54 |
| - </ItemGroup> |
| 48 | + <ItemGroup Condition="'$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'net47' Or '$(TargetFramework)' == 'netstandard2.0'"> |
| 49 | + <PackageReference Include="System.Collections.Immutable" Version="9.0.1" /> |
| 50 | + </ItemGroup> |
55 | 51 |
|
56 |
| - <ItemGroup> |
57 |
| - <None Include="../../README.md" Pack="true" PackagePath="" /> |
58 |
| - </ItemGroup> |
| 52 | + <ItemGroup Condition="'$(TargetFramework)' == 'net462'"> |
| 53 | + <PackageReference Include="System.ValueTuple" Version="4.6.1" /> |
| 54 | + </ItemGroup> |
| 55 | + |
| 56 | + <ItemGroup> |
| 57 | + <None Include="../../README.md" Pack="true" PackagePath="" /> |
| 58 | + </ItemGroup> |
59 | 59 |
|
60 | 60 | </Project>
|
0 commit comments