diff --git a/Directory.Build.props b/Directory.Build.props index e14a4b6..b95b0ce 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,11 +3,16 @@ latest true - false enable enable - true - $(WarningsAsErrors);NU1605;NU1701 + false + $(NoWarn);IDE0079;S1135;CA1510;CA1511;CA1512;CA1513;CA1863 + $(NoWarn);NETSDK1138 + $(WarningsAsErrors);NU1601;NU1603;NU1605;NU1608;NU1701;MSB3644 + true + + + en diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index b386431..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,48 +0,0 @@ -image: Visual Studio 2022 -skip_branch_with_pr: true -configuration: Release -environment: - IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1 -install: - - choco install gitversion.portable -y - - gitversion /l console /output buildserver - - choco install opencover.portable -y - - choco install codecov -y - # Install 8.0 preview - - ps: $env:DOTNET_INSTALL_DIR = "C:\Program Files\dotnet" - - ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null - - ps: Invoke-WebRequest 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1' -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" - - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 8.0.1xx -Quality preview -InstallDir $env:DOTNET_INSTALL_DIR' - - ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path" - - dotnet --list-sdks -cache: - - C:\ProgramData\chocolatey\bin -> appveyor.yml, codecov.yml - - C:\ProgramData\chocolatey\lib -> appveyor.yml, codecov.yml -dotnet_csproj: - patch: true - file: '**\*.csproj;**\*.props' - version: '{GitVersion_SemVer}' - package_version: $(GitVersion_NuGetVersion) - assembly_version: $(GitVersion_AssemblySemVer) - file_version: $(GitVersion_AssemblySemFileVer) - informational_version: $(GitVersion_InformationalVersion) -nuget: - project_feed: true -# disable_publish_on_pr: true -before_build: - - dotnet restore -build: - project: Correlate.sln - publish_nuget: true - publish_nuget_symbols: true - use_snupkg_format: true - verbosity: minimal -test_script: - - OpenCover.Console.exe -target:"dotnet.exe" -targetargs:"test -c Release /p:DebugType=full -l:trx;LogFilePrefix=testresults" -output:coverage.xml -register:user -returntargetcode -filter:"+[Correlate*]* -[*Tests]* -[*Testing]*" -excludebyattribute:*.ExcludeFromCodeCoverageAttribute;*.GeneratedCodeAttribute;*.DebuggerNonUserCodeAttribute;*.CompilerGeneratedAttribute;*.DebuggerHiddenAttribute -oldStyle - - codecov -f coverage.xml -deploy: -- provider: NuGet - api_key: - secure: LYK2kBW5UKfW19u4OR0m91tWA4/+kvmPQKm721Gp/VPjKU6F0pO4E8XrhId71pVp - on: - APPVEYOR_REPO_TAG: true diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 49bcc07..ed9b0a1 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -18,6 +18,7 @@ PackageIcon64.png Release notes are at https://github.com/skwasjer/Correlate/releases true + latest-All