aboutsummaryrefslogtreecommitdiff
path: root/appveyor.bat
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2016-07-14 22:01:47 +0100
committerGitHub <noreply@github.com>2016-07-14 22:01:47 +0100
commit10a8fb4e73b3dada58123aeabc393288ac791dc8 (patch)
tree54b058cfaff68b49a20aa8dfaec297faaddda109 /appveyor.bat
parent042993b3dd8c52f979870c91ea7fcbcf0dcf94a0 (diff)
downloadprotobuf-10a8fb4e73b3dada58123aeabc393288ac791dc8.tar.gz
protobuf-10a8fb4e73b3dada58123aeabc393288ac791dc8.tar.bz2
protobuf-10a8fb4e73b3dada58123aeabc393288ac791dc8.zip
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform (#1727)
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform This also updates the version number to 3.0.0-beta4
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