buildall.bat 731 B

12345678910111213141516171819202122232425262728
  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:Configuration=Debug /p:PlatformToolset=v120 || goto :error
  9. msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:Configuration=Release /p:PlatformToolset=v120 || goto :error
  10. msbuild Grpc.sln /p:Configuration=Debug || goto :error
  11. msbuild Grpc.sln /p:Configuration=Release || goto :error
  12. if "%1" == "BUILD_SIGNED" (
  13. msbuild Grpc.sln /p:Configuration=ReleaseSigned || goto :error
  14. )
  15. endlocal
  16. goto :EOF
  17. :error
  18. echo Failed!
  19. exit /b %errorlevel%