Files
UA-.NETStandard/Tests/benchmarks.cmd
T
Martin Regen a109c81d22 fix .NET 8 build and warning (#2395)
Fix some warnings and build errors with .NET 8. To build as .NET 8, add net8.0 to target.props.
2023-11-27 18:35:47 +01:00

26 lines
1002 B
Batchfile

@REM Copyright (c) OPC Foundation. All rights reserved.
@REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
@setlocal EnableExtensions EnableDelayedExpansion
@echo off
set current-path=%~dp0
rem // remove trailing slash
set current-path=%current-path:~0,-1%
set build_root=%current-path%\..
set framework=net48
set runtimes=net48 netcoreapp3.1 net6.0 net8.0
set filter=*
cd %build_root%
cd Tests\Opc.Ua.Security.Certificates.Tests\
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Core.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Server.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Client.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..