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 1502f0634b7862aca04d39737564c091325b1221..37732e7c66197cee617231029a2003c395253e2a 100644 |
--- a/third_party/protobuf/csharp/build_packages.bat |
+++ b/third_party/protobuf/csharp/build_packages.bat |
@@ -1,10 +1,7 @@ |
@rem Builds Google.Protobuf NuGet packages |
-@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 |
+dotnet restore src |
+dotnet pack -c Release src\Google.Protobuf || goto :error |
goto :EOF |