aboutsummaryrefslogtreecommitdiffhomepage
path: root/appveyor.bat
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.bat')
-rw-r--r--appveyor.bat9
1 files changed, 6 insertions, 3 deletions
diff --git a/appveyor.bat b/appveyor.bat
index 9a46b928..0e6dd520 100644
--- a/appveyor.bat
+++ b/appveyor.bat
@@ -19,9 +19,12 @@ goto :EOF
:build_csharp
echo Building C#
cd csharp\src
-nuget restore
-msbuild Google.Protobuf.sln /p:Platform="Any CPU" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" || goto error
-nunit-console Google.Protobuf.Test\bin\%configuration%\Google.Protobuf.Test.dll || goto error
+dotnet restore
+dotnet build -c %configuration% Google.Protobuf Google.Protobuf.Test Google.Protobuf.Conformance || goto error
+
+echo Testing C#
+dotnet test -c %configuration% Google.Protobuf.Test || goto error
+
goto :EOF
:error