buildall.bat 599 B

123456789101112131415161718192021222324252627
  1. @rem Convenience script to build gRPC C# from command line
  2. setlocal
  3. @rem enter this directory
  4. cd /d %~dp0
  5. @rem Set VS variables (uses Visual Studio 2013)
  6. @call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86
  7. @rem Build the C# native extension
  8. msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:PlatformToolset=v120 || goto :error
  9. msbuild Grpc.sln /p:Configuration=Debug || goto :error
  10. msbuild Grpc.sln /p:Configuration=Release || goto :error
  11. if "%1" == "BUILD_SIGNED" (
  12. msbuild Grpc.sln /p:Configuration=ReleaseSigned || goto :error
  13. )
  14. endlocal
  15. goto :EOF
  16. :error
  17. echo Failed!
  18. exit /b %errorlevel%