diff --git a/appveyor.yml b/appveyor.yml
index 7a7eccc..bbe5139 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,14 +9,13 @@ environment:
nuget:
disable_publish_on_pr: true
build_script:
- - ps: (Get-Content src\HtmlSanitizer\HtmlSanitizer.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content src\HtmlSanitizer\HtmlSanitizer.csproj
- dotnet restore
- dotnet pack --include-symbols --include-source -c Release src\HtmlSanitizer
test_script:
- ps: |
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
dotnet tool install --global dotnet-sonarscanner
- dotnet sonarscanner begin /k:"mganss_HtmlSanitizer" /v:$env:APPVEYOR_BUILD_VERSION /d:sonar.organization="mganss-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:sonar_token" /d:sonar.cs.opencover.reportsPaths="$($env:APPVEYOR_BUILD_FOLDER)\coverage.xml" /d:sonar.coverage.exclusions="**/Program.cs"
+ dotnet sonarscanner begin /k:"mganss_HtmlSanitizer" /v:$env:APPVEYOR_BUILD_VERSION /o:"mganss-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:sonar_token" /d:sonar.cs.opencover.reportsPaths="$($env:APPVEYOR_BUILD_FOLDER)\coverage.xml" /d:sonar.coverage.exclusions="**/Program.cs"
dotnet build
}
- dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="..\..\coverage.xml" test\HtmlSanitizer.Tests\HtmlSanitizer.Tests.csproj -f netcoreapp2.0
diff --git a/src/HtmlSanitizer/HtmlSanitizer.csproj b/src/HtmlSanitizer/HtmlSanitizer.csproj
index d960d95..c4f6485 100644
--- a/src/HtmlSanitizer/HtmlSanitizer.csproj
+++ b/src/HtmlSanitizer/HtmlSanitizer.csproj
@@ -2,9 +2,12 @@
Cleans HTML from constructs that can be used for cross site scripting (XSS)
- Copyright 2013-2018 Michael Ganss
+ Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss
HtmlSanitizer
- 1.0.0-VERSION
+ 1.0.0
+ 4.0.0.0
+ $(AppVeyor_Build_Version).0
+ $(AppVeyor_Build_Version)
Michael Ganss
net40;net45;netstandard1.3;netstandard2.0;
HtmlSanitizer
@@ -14,36 +17,29 @@
HtmlSanitizer
xss;anti;antixss;html;security
https://github.com/mganss/HtmlSanitizer
- https://raw.github.com/mganss/HtmlSanitizer/master/LICENSE.md
+ MIT
git
git://github.com/mganss/HtmlSanitizer
$(PackageTargetFallback);dotnet
- false
app.net40.config
false
Ganss.XSS
true
bin\$(Configuration)\$(TargetFramework)\HtmlSanitizer.xml
+ true
+ true
+ true
-
+
-
-
-
-
-
-
- $(DefineConstants);NETSTANDARD
-
-
diff --git a/src/HtmlSanitizer/Properties/AssemblyInfo.cs b/src/HtmlSanitizer/Properties/AssemblyInfo.cs
deleted file mode 100644
index 9771814..0000000
--- a/src/HtmlSanitizer/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-#if !NETSTANDARD
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("16af04e9-e712-417e-b749-c8d10148dda9")]
-
-#endif
-
-[assembly: AssemblyVersion("4.0.0.0")]