mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 11:45:43 +08:00
Fix build scripts.
This commit is contained in:
+4
-2
@@ -14,13 +14,15 @@ Write-Host
|
||||
|
||||
# Cleanup
|
||||
Get-ChildItem -Path ".\..\" -Filter "*.nupkg" -Recurse | Remove-Item
|
||||
Get-ChildItem -Path ".\..\" -Filter "*.snupkg" -Recurse | Remove-Item
|
||||
|
||||
# Build and execute tests
|
||||
&$msbuild ..\Tests\MQTTnet.Core.Tests\MQTTnet.Tests.csproj /t:Clean /t:Restore /t:Build /p:Configuration="Release" /p:TargetFramework="net5.0" /verbosity:m
|
||||
&$msbuild ..\Tests\MQTTnet.AspNetCore.Tests\MQTTnet.AspNetCore.Tests.csproj /t:Clean /t:Restore /t:Build /p:Configuration="Release" /p:TargetFramework="net5.0" /verbosity:m
|
||||
|
||||
#vstest.console.exe ..\Tests\MQTTnet.Core.Tests\bin\Release\net5.0\MQTTnet.Tests.dll
|
||||
#vstest.console.exe ..\Tests\MQTTnet.AspNetCore.Tests\bin\Release\net5.0\MQTTnet.AspNetCore.Tests.dll
|
||||
vstest.console.exe ..\Tests\MQTTnet.Core.Tests\bin\Release\net5.0\MQTTnet.Tests.dll
|
||||
vstest.console.exe ..\Tests\MQTTnet.AspNetCore.Tests\bin\Release\net5.0\MQTTnet.AspNetCore.Tests.dll
|
||||
|
||||
$certificate = ".\..\..\Build\codeSigningKey.pfx"
|
||||
|
||||
# Build the core library
|
||||
|
||||
Reference in New Issue
Block a user