Index: third_party/protobuf/csharp/build_packages.bat |
diff --git a/third_party/protobuf/csharp/build_packages.bat b/third_party/protobuf/csharp/build_packages.bat |
index 37732e7c66197cee617231029a2003c395253e2a..1502f0634b7862aca04d39737564c091325b1221 100644 |
--- a/third_party/protobuf/csharp/build_packages.bat |
+++ b/third_party/protobuf/csharp/build_packages.bat |
@@ -1,7 +1,10 @@ |
@rem Builds Google.Protobuf NuGet packages |
-dotnet restore src |
-dotnet pack -c Release src\Google.Protobuf || goto :error |
+@rem Adjust the location of nuget.exe |
+set NUGET=C:\nuget\nuget.exe |
+ |
+@rem Build src/Google.Protobuf.sln solution in Release configuration first. |
+%NUGET% pack src\Google.Protobuf\Google.Protobuf.nuspec -Symbols || goto :error |
goto :EOF |