Skip to content

Commit

Permalink
Build net 472 instead of net48 (#207)
Browse files Browse the repository at this point in the history
* Build net 472 instead of net48
* typo
  • Loading branch information
lxatstariongroup authored Oct 1, 2021
1 parent 8960c60 commit ba2d6d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ before_build:
}
build_script:
- cmd: dotnet build CDP4-SDK-NETF.sln --configuration %CONFIGURATION% -v q --framework net48
- cmd: dotnet build CDP4-SDK-NETF.sln --configuration %CONFIGURATION% -v q --framework net472
- cmd: dotnet build CDP4-SDK-NETC.sln --configuration %CONFIGURATION% -v q --framework netcoreapp3.1
- ps: >-
if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {
Write-Host Building Nugets PR# $env:APPVEYOR_PULL_REQUEST_NUMBER
dotnet pack CDP4-SDK-NETF.sln --configuration $env:CONFIGURATION -p:TargetFrameworks=net48 --no-build --version-suffix "$env:APPVEYOR_BUILD_NUMBER-PR$env:APPVEYOR_PULL_REQUEST_NUMBER"
dotnet pack CDP4-SDK-NETF.sln --configuration $env:CONFIGURATION -p:TargetFrameworks=net472 --no-build --version-suffix "$env:APPVEYOR_BUILD_NUMBER-PR$env:APPVEYOR_PULL_REQUEST_NUMBER"
nuget sources add -name github -username $env:GITHUB_USER -password $env:GITHUB_TOKEN -source https://nuget.pkg.github.com/RHEAGROUP/index.json -StorePasswordInClearText
Get-ChildItem -Path C:\projects\cdp4-sdk-community-edition\ -Filter *.nupkg -Recurse -File -Name| ForEach-Object {
Expand All @@ -70,7 +70,7 @@ test_script:
-log:Error
-register
-target:"C:\Program Files\dotnet\dotnet.exe"
-targetargs:"test CDP4-SDK-NETF.sln --framework net48 --logger ""trx;LogFileName=%TEST_RESULT%"" --filter=""(TestCategory!~WebServicesDependent) & (TestCategory!~AppVeyorExclusion)"" --configuration %CONFIGURATION% -v q"
-targetargs:"test CDP4-SDK-NETF.sln --framework net472 --logger ""trx;LogFileName=%TEST_RESULT%"" --filter=""(TestCategory!~WebServicesDependent) & (TestCategory!~AppVeyorExclusion)"" --configuration %CONFIGURATION% -v q"
-returntargetcode
-hideskipped:All
-output:"%TEST_COVERAGE%"
Expand Down
2 changes: 1 addition & 1 deletion comet_sdk_test_netf.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dotnet test CDP4-SDK-NETF.sln --framework net48 --filter="(TestCategory!~WebServicesDependent) & (TestCategory!~AppVeyorExclusion)"
dotnet test CDP4-SDK-NETF.sln --framework net472 --filter="(TestCategory!~WebServicesDependent) & (TestCategory!~AppVeyorExclusion)"

0 comments on commit ba2d6d6

Please sign in to comment.